From ab746eb915a97c59da41e8e1680edbbd15a34a09 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 19 Mar 2015 15:17:53 +0100 Subject: Make user/get_action/invalid-action exception public Signed-off-by: Florian Pritz --- application/models/muser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/models/muser.php') 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; -- cgit v1.2.3-24-g4f1b