summaryrefslogtreecommitdiff
path: root/lib/api/kolab_api_service_user.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/kolab_api_service_user.php')
-rw-r--r--lib/api/kolab_api_service_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/kolab_api_service_user.php b/lib/api/kolab_api_service_user.php
index 202510d..4d985bb 100644
--- a/lib/api/kolab_api_service_user.php
+++ b/lib/api/kolab_api_service_user.php
@@ -214,7 +214,7 @@ class kolab_api_service_user extends kolab_api_service
}
if ($users['count'] > 1) {
- raise Exception, "More than a single entry found.";
+ throw new Exception("More than a single entry found.", 942);
}
// get user data