diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-09-08 22:57:15 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-09-08 22:57:15 +0200 |
commit | a9a3f17b35d0125d4fc0885b767167fac3af914e (patch) | |
tree | 1a7c974a34c2888168986bafb58cbf3440eeb3d8 /lib | |
parent | 71e10b66d9f3f0ab1545ac460bb4e5ea61bb8196 (diff) | |
parent | d6bfd90bf804f6d8bb4c651e6bcf8374dc6b94b4 (diff) | |
download | nextcloud-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.php | 4 |
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(); |