diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-05-17 16:14:11 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-05-17 16:14:11 +0200 |
commit | 379be916184e3d5235626b225bf0d6c9b03fdee6 (patch) | |
tree | fa5fd82ec6ba561c778d1012584ccf3cf96e50d9 /lib | |
parent | 5c9103287f7ed8f2d69dd179b7eb160c1b1a65fd (diff) | |
parent | 3a1882b143237e333ebd972bfd6a4619815d6406 (diff) | |
download | nextcloud-server-379be916184e3d5235626b225bf0d6c9b03fdee6.tar.gz nextcloud-server-379be916184e3d5235626b225bf0d6c9b03fdee6.zip |
Merge pull request #24597 from owncloud/run-upgrade-in-incognito-mode
run upgrades in incognito mode
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index ad3c9501268..1fdcf44f4d0 100644 --- a/lib/base.php +++ b/lib/base.php @@ -633,6 +633,9 @@ class OC { //setup extra user backends if (!self::checkUpgrade(false)) { OC_User::setupBackends(); + } else { + // Run upgrades in incognito mode + OC_User::setIncognitoMode(true); } self::registerCacheHooks(); |