[Pkg-owncloud-commits] [owncloud] 27/50: use session_write_close() because the Session class has no close() yet in this version

David Prévot taffit at moszumanska.debian.org
Fri Oct 17 03:12:13 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v6.0.6RC1
in repository owncloud.

commit 7217fb873ca309b6305f9f9d59f8f98175bca9a3
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Thu Sep 18 13:21:08 2014 +0200

    use session_write_close() because the Session class has no close() yet in this version
---
 lib/private/connector/sabre/auth.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/connector/sabre/auth.php b/lib/private/connector/sabre/auth.php
index 5577273..6859328 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;
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list