diff options
author | Andreas Fischer <bantu@owncloud.com> | 2013-10-02 15:11:49 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2013-10-02 15:11:49 +0200 |
commit | aa34438d06399e0383762998722d056cbe1c543b (patch) | |
tree | e64f3ef7879aa5b90bac49090c9df3343d42eae0 /lib/private | |
parent | 621ab1c7eee6d26b596b255605083f7958d11083 (diff) | |
download | nextcloud-server-aa34438d06399e0383762998722d056cbe1c543b.tar.gz nextcloud-server-aa34438d06399e0383762998722d056cbe1c543b.zip |
Also replace ApacheBackend with Authentication\IApacheBackend in user.
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/user.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/user.php b/lib/private/user.php index 78f5dad75f9..f7661f8d83e 100644 --- a/lib/private/user.php +++ b/lib/private/user.php @@ -219,10 +219,10 @@ class OC_User { * * Log in a user and regenerate a new session. * - * @param \OCP\ApacheBackend $backend + * @param \OCP\Authentication\IApacheBackend $backend * @return bool */ - public static function loginWithApache(\OCP\ApacheBackend $backend) { + public static function loginWithApache(\OCP\Authentication\IApacheBackend $backend) { $uid = $backend->getCurrentUserId(); $run = true; @@ -248,7 +248,7 @@ class OC_User { */ public static function handleApacheAuth() { foreach (self::$_usedBackends as $backend) { - if ($backend instanceof OCP\ApacheBackend) { + if ($backend instanceof OCP\Authentication\IApacheBackend) { if ($backend->isSessionActive()) { OC_App::loadApps(); @@ -320,7 +320,7 @@ class OC_User { */ public static function getLogoutAttribute() { foreach (self::$_usedBackends as $backend) { - if ($backend instanceof OCP\ApacheBackend) { + if ($backend instanceof OCP\Authentication\IApacheBackend) { if ($backend->isSessionActive()) { return $backend->getLogoutAttribute(); } |