Skip to content
Snippets Groups Projects
Commit 4a480e4f authored by shkdee's avatar shkdee
Browse files

Update user.php

Fixes $_setupedBackends[] into self::$_setupedBackends[] so that setuped backends are REALLY remembered and not instanciated many times.
parent 7ee57dd4
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment