summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-09-18 13:21:08 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-09-18 13:21:08 +0200
commit7217fb873ca309b6305f9f9d59f8f98175bca9a3 (patch)
tree261692924a9bb04d7c711d1fc46cc21657d6683f /lib
parentb963723c212e7ad75ceda38f4b0922ae00c126b0 (diff)
downloadnextcloud-server-7217fb873ca309b6305f9f9d59f8f98175bca9a3.tar.gz
nextcloud-server-7217fb873ca309b6305f9f9d59f8f98175bca9a3.zip
use session_write_close() because the Session class has no close() yet in this version
Diffstat (limited to 'lib')
-rw-r--r--lib/private/connector/sabre/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/auth.php b/lib/private/connector/sabre/auth.php
index 5577273df8c..685932850aa 100644
--- a/lib/private/connector/sabre/auth.php
+++ b/lib/private/connector/sabre/auth.php
@@ -76,7 +76,7 @@ class OC_Connector_Sabre_Auth extends Sabre_DAV_Auth_Backend_AbstractBasic {
$result = $this->auth($server, $realm);
// close the session - right after authentication there is not need to write to the session any more
- \OC::$session->close();
+ session_write_close();
return $result;
}