summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-17 16:14:11 +0200
committerVincent Petry <pvince81@owncloud.com>2016-05-17 16:14:11 +0200
commit379be916184e3d5235626b225bf0d6c9b03fdee6 (patch)
treefa5fd82ec6ba561c778d1012584ccf3cf96e50d9 /lib/base.php
parent5c9103287f7ed8f2d69dd179b7eb160c1b1a65fd (diff)
parent3a1882b143237e333ebd972bfd6a4619815d6406 (diff)
downloadnextcloud-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/base.php')
-rw-r--r--lib/base.php3
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();