]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not load extra user backends when an upgrade is due
authorVincent Petry <pvince81@owncloud.com>
Mon, 8 Sep 2014 10:30:04 +0000 (12:30 +0200)
committerVincent Petry <pvince81@owncloud.com>
Mon, 8 Sep 2014 10:30:04 +0000 (12:30 +0200)
Whenever an upgrade is due, do not load extra user backends

lib/base.php

index fb445124011d4d9699a733d76a88b4f8baca4fa3..5d52db68cb7730b28395ccee70f34a977d181e4c 100644 (file)
@@ -554,7 +554,9 @@ class OC {
                OC_Group::useBackend(new OC_Group_Database());
 
                //setup extra user backends
-               OC_User::setupBackends();
+               if (!self::checkUpgrade(false)) {
+                       OC_User::setupBackends();
+               }
 
                self::registerCacheHooks();
                self::registerFilesystemHooks();