mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
Do not load extra user backends when an upgrade is due
Whenever an upgrade is due, do not load extra user backends
This commit is contained in:
parent
637cff68ac
commit
d6bfd90bf8
1 changed files with 3 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue