diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-09-08 12:30:04 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-09-08 12:30:04 +0200 |
commit | d6bfd90bf804f6d8bb4c651e6bcf8374dc6b94b4 (patch) | |
tree | 1d33cbec841c26b508785a8a70eb4e1c727ec04b | |
parent | 637cff68ac2944d6029eb015640bbbd0e686641b (diff) | |
download | nextcloud-server-d6bfd90bf804f6d8bb4c651e6bcf8374dc6b94b4.tar.gz nextcloud-server-d6bfd90bf804f6d8bb4c651e6bcf8374dc6b94b4.zip |
Do not load extra user backends when an upgrade is due
Whenever an upgrade is due, do not load extra user backends
-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(); |