summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();