summaryrefslogtreecommitdiffstats
path: root/application/models/muser.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-03-19 15:17:53 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-03-19 15:18:56 +0100
commitab746eb915a97c59da41e8e1680edbbd15a34a09 (patch)
tree1a7cdfaddf1b0841a096652a144efcafe574715a /application/models/muser.php
parent41c8179f3d6cce5dad2d10621f30f881d9861203 (diff)
Make user/get_action/invalid-action exception public
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/models/muser.php')
-rw-r--r--application/models/muser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/muser.php b/application/models/muser.php
index 6f6129ca2..4d183c5a6 100644
--- a/application/models/muser.php
+++ b/application/models/muser.php
@@ -208,7 +208,7 @@ class Muser extends CI_Model {
->get()->row_array();
if (!isset($query["key"]) || $key != $query["key"]) {
- throw new \exceptions\ApiException("user/get_action/invalid-action", "Invalid action key");
+ throw new \exceptions\UserInputException("user/get_action/invalid-action", "Invalid action key");
}
return $query;