diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-02-05 16:25:22 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2015-02-05 16:25:22 +0100 |
commit | 2bcb7862143e62932a8d7cb92299a9a49d0fdc31 (patch) | |
tree | 9c2cdda55c4a49d338bdcf30b510c951dc5ad4f1 /apps/user_ldap/ajax | |
parent | 7a9d428d6f6146d44883e2c5bab04db702792ce4 (diff) | |
download | nextcloud-server-2bcb7862143e62932a8d7cb92299a9a49d0fdc31.tar.gz nextcloud-server-2bcb7862143e62932a8d7cb92299a9a49d0fdc31.zip |
no fruitless count attempts, and notification should disappear
Diffstat (limited to 'apps/user_ldap/ajax')
-rw-r--r-- | apps/user_ldap/ajax/wizard.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php index 48bfb56311c..7c4ef3a9a29 100644 --- a/apps/user_ldap/ajax/wizard.php +++ b/apps/user_ldap/ajax/wizard.php @@ -85,7 +85,7 @@ switch($action) { exit; } } catch (\Exception $e) { - \OCP\JSON::error(array('message' => $e->getMessage())); + \OCP\JSON::error(array('message' => $e->getMessage(), 'code' => $e->getCode())); exit; } \OCP\JSON::error(); |