summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-05-12 11:56:58 +0200
committerChristoph Wurst <christoph@owncloud.com>2016-05-12 11:56:58 +0200
commit3a1882b143237e333ebd972bfd6a4619815d6406 (patch)
treede2b3698433883b6e8885ac41ad953ee4b977e89 /lib/base.php
parenteea98f1d74daf2a20c6b08b9df743f0478c48103 (diff)
downloadnextcloud-server-3a1882b143237e333ebd972bfd6a4619815d6406.tar.gz
nextcloud-server-3a1882b143237e333ebd972bfd6a4619815d6406.zip
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 16ce0973a95..25ebe8b2f48 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();