diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-07-20 13:09:09 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-07-25 12:56:07 +0200 |
commit | fdcbc23ed6bb520f50c7c4ce5f169e6716e1c5f0 (patch) | |
tree | 8cf8c9cb9afafc2005698fc8068791f1f0787417 /lib/user.php | |
parent | d28be8de64a3fe6ab52782a4aaeaaf96565a8012 (diff) | |
download | nextcloud-server-fdcbc23ed6bb520f50c7c4ce5f169e6716e1c5f0.tar.gz nextcloud-server-fdcbc23ed6bb520f50c7c4ce5f169e6716e1c5f0.zip |
define an interface for the User Backend
Diffstat (limited to 'lib/user.php')
-rw-r--r-- | lib/user.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/user.php b/lib/user.php index 549319b3a77..e3c9c23effa 100644 --- a/lib/user.php +++ b/lib/user.php @@ -21,7 +21,7 @@ */ /** - * This class provides wrapper methods for user management. Multiple backends are + * This class provides wrapper methods for user management. Multiple backends are * supported. User management operations are delegated to the configured backend for * execution. * @@ -83,7 +83,7 @@ class OC_User { * Set the User Authentication Module */ public static function useBackend( $backend = 'database' ){ - if($backend instanceof OC_User_Backend){ + if($backend instanceof OC_User_Interface){ self::$_usedBackends[get_class($backend)]=$backend; }else{ // You'll never know what happens |