summaryrefslogtreecommitdiffstats
path: root/application/service/user.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-02-03 00:23:12 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-02-03 00:23:12 +0100
commitcb52a4cdc2daa45a61c728f5ec83603e6c6a71fa (patch)
tree0470c7a3d39c41f6b2b87af8fc8700ad849e14cf /application/service/user.php
parent33efe571e3e7ebd607e92345c2e94e7fd8ae27f0 (diff)
Rework error handling in upload validator
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/service/user.php')
-rw-r--r--application/service/user.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/application/service/user.php b/application/service/user.php
index 97f2531f9..16fa62272 100644
--- a/application/service/user.php
+++ b/application/service/user.php
@@ -23,7 +23,6 @@ class user {
{
$CI =& get_instance();
-
$valid_levels = $CI->muser->get_access_levels();
if (array_search($access_level, $valid_levels) === false) {
throw new \exceptions\UserInputException("user/validation/access_level/invalid", "Invalid access levels requested.");