aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-09-08 22:57:15 +0200
committerVincent Petry <pvince81@owncloud.com>2014-09-08 22:57:15 +0200
commita9a3f17b35d0125d4fc0885b767167fac3af914e (patch)
tree1a7c974a34c2888168986bafb58cbf3440eeb3d8 /lib
parent71e10b66d9f3f0ab1545ac460bb4e5ea61bb8196 (diff)
parentd6bfd90bf804f6d8bb4c651e6bcf8374dc6b94b4 (diff)
downloadnextcloud-server-a9a3f17b35d0125d4fc0885b767167fac3af914e.tar.gz
nextcloud-server-a9a3f17b35d0125d4fc0885b767167fac3af914e.zip
Merge pull request #10927 from owncloud/update-nosetupbackends
Do not load extra user backends when an upgrade is due
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index fb445124011..5d52db68cb7 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -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();