]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update user.php
authorshkdee <louis.traynard@m4x.org>
Tue, 18 Jun 2013 18:47:47 +0000 (21:47 +0300)
committershkdee <louis.traynard@m4x.org>
Tue, 18 Jun 2013 18:47:47 +0000 (21:47 +0300)
Fixes $_setupedBackends[] into self::$_setupedBackends[] so that setuped backends are REALLY remembered and not instanciated many times.

lib/user.php

index 06ea8e791dd795fa8247b4798336e872e4a8832b..830f13bb8df6900304eb60d042d410ac844b54ef 100644 (file)
@@ -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);
                                }