diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-01-14 14:28:03 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-01-14 14:28:03 +0100 |
commit | 64043e9bcc4f30be1046fef6f9a9880f4497d59e (patch) | |
tree | 1345ccb5d178395d1b0778af679a9cdf9632f0e7 /lib/private/user.php | |
parent | 8f89e3520d74e1805dc46947742a17683ece6ca7 (diff) | |
download | nextcloud-server-64043e9bcc4f30be1046fef6f9a9880f4497d59e.tar.gz nextcloud-server-64043e9bcc4f30be1046fef6f9a9880f4497d59e.zip |
move methods to correct interface, deprecate private interface
Diffstat (limited to 'lib/private/user.php')
-rw-r--r-- | lib/private/user.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/user.php b/lib/private/user.php index 7f42374e2e3..7d1f21cc409 100644 --- a/lib/private/user.php +++ b/lib/private/user.php @@ -76,13 +76,13 @@ class OC_User { /** * Adds the backend to the list of used backends * - * @param string|OC_User_Interface $backend default: database The backend to use for user management + * @param string|\OCP\UserInterface $backend default: database The backend to use for user management * @return bool * * Set the User Authentication Module */ public static function useBackend($backend = 'database') { - if ($backend instanceof OC_User_Interface) { + if ($backend instanceof \OCP\UserInterface) { self::$_usedBackends[get_class($backend)] = $backend; \OC::$server->getUserManager()->registerBackend($backend); } else { |