summaryrefslogtreecommitdiffstats
path: root/lib/private/connector
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-02 00:55:35 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-02 00:55:35 +0200
commit4cecede13d74cc26f92aba50d415ff31d277ade5 (patch)
treea1c5ee60b102d44b9c8e063fa08f59377731287b /lib/private/connector
parent493e948146e3ab0b58f15adb533854d7edef1212 (diff)
downloadnextcloud-server-4cecede13d74cc26f92aba50d415ff31d277ade5.tar.gz
nextcloud-server-4cecede13d74cc26f92aba50d415ff31d277ade5.zip
code cleanup - remove special case for webdav in handleApacheAuth()
Diffstat (limited to 'lib/private/connector')
-rw-r--r--lib/private/connector/sabre/auth.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/auth.php b/lib/private/connector/sabre/auth.php
index 9b5663998ff..d2fd74c44f9 100644
--- a/lib/private/connector/sabre/auth.php
+++ b/lib/private/connector/sabre/auth.php
@@ -72,7 +72,8 @@ class OC_Connector_Sabre_Auth extends Sabre_DAV_Auth_Backend_AbstractBasic {
* @return bool
*/
public function authenticate(Sabre_DAV_Server $server, $realm) {
- if (OC_User::handleApacheAuth(true)) {
+
+ if (OC_User::handleApacheAuth()) {
return true;
}