run upgrades in incognito mode

This commit is contained in:
Christoph Wurst 2016-05-12 11:56:58 +02:00
parent eea98f1d74
commit 3a1882b143
No known key found for this signature in database
GPG Key ID: FEECD2543CA6EAF0
1 changed files with 3 additions and 0 deletions

View File

@ -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();