summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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();