diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-03-19 15:17:53 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-03-19 15:18:56 +0100 |
commit | ab746eb915a97c59da41e8e1680edbbd15a34a09 (patch) | |
tree | 1a7cdfaddf1b0841a096652a144efcafe574715a /application | |
parent | 41c8179f3d6cce5dad2d10621f30f881d9861203 (diff) |
Make user/get_action/invalid-action exception public
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r-- | application/models/muser.php | 2 |
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; |