summaryrefslogtreecommitdiff
path: root/lib/Kolab/DAV/Auth/HTTPBasic.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-01-07 15:20:22 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-01-07 15:41:22 (GMT)
commite636dd31dca8701914dda591c2bab76bc7fcab84 (patch)
tree47b9bacf459a4b00ea4324a4ecfc86a1f42ec83f /lib/Kolab/DAV/Auth/HTTPBasic.php
parent05c26255a8e6cdcb258e66b64b2b70779f819cca (diff)
downloadiRony-e636dd31dca8701914dda591c2bab76bc7fcab84.tar.gz
Overload ServiceUnavailable exception class to send a Retry-After header (#2745)
Diffstat (limited to 'lib/Kolab/DAV/Auth/HTTPBasic.php')
-rw-r--r--lib/Kolab/DAV/Auth/HTTPBasic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kolab/DAV/Auth/HTTPBasic.php b/lib/Kolab/DAV/Auth/HTTPBasic.php
index 4bf2aa8..e9dc2b9 100644
--- a/lib/Kolab/DAV/Auth/HTTPBasic.php
+++ b/lib/Kolab/DAV/Auth/HTTPBasic.php
@@ -94,7 +94,7 @@ class HTTPBasic extends DAV\Auth\Backend\AbstractBasic
// LDAP server failure... send 503 error
if ($auth['kolab_ldap_error']) {
- throw new DAV\Exception\ServiceUnavailable('The service is temporarily unavailable (LDAP failure)');
+ throw new ServiceUnavailable('The service is temporarily unavailable (LDAP failure)');
}
}