summaryrefslogtreecommitdiffstats
path: root/lib/user.php
diff options
context:
space:
mode:
authorshkdee <louis.traynard@m4x.org>2013-06-18 21:47:47 +0300
committershkdee <louis.traynard@m4x.org>2013-06-18 21:47:47 +0300
commit4a480e4f530abbf52838687ae45a09f28a45b47e (patch)
tree80c5dd3206d9cc16feac727c79f7ba7151a9101b /lib/user.php
parent7ee57dd42c40e8dbd1beab09d29e23af4ee77508 (diff)
downloadnextcloud-server-4a480e4f530abbf52838687ae45a09f28a45b47e.tar.gz
nextcloud-server-4a480e4f530abbf52838687ae45a09f28a45b47e.zip
Update user.php
Fixes $_setupedBackends[] into self::$_setupedBackends[] so that setuped backends are REALLY remembered and not instanciated many times.
Diffstat (limited to 'lib/user.php')
-rw-r--r--lib/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php
index 06ea8e791dd..830f13bb8df 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -190,7 +190,7 @@ class OC_User {
// use Reflection to create a new instance, using the $args
$backend = $reflectionObj->newInstanceArgs($arguments);
self::useBackend($backend);
- $_setupedBackends[] = $i;
+ self::$_setupedBackends[] = $i;
} else {
OC_Log::write('core', 'User backend ' . $class . ' already initialized.', OC_Log::DEBUG);
}