summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-04 13:56:41 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-04 13:56:41 +0200
commit1a7df3323391f6d6f7ef04de2687b3a566ab6351 (patch)
tree9e3bc1db6aa3f05886a747bcf728040a79a4cdcd /core
parentd261ca616b2ffec54dafb83818cfabef5306944b (diff)
parent4a93a6e0600e4445333bd22015fc9d22d4251219 (diff)
downloadnextcloud-server-1a7df3323391f6d6f7ef04de2687b3a566ab6351.tar.gz
nextcloud-server-1a7df3323391f6d6f7ef04de2687b3a566ab6351.zip
Merge pull request #10818 from owncloud/enableappforgroupfix
Fix upgrade process when apps enabled for specific groups
Diffstat (limited to 'core')
-rw-r--r--core/ajax/update.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index 627ada080c8..1e280a82227 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -3,6 +3,10 @@ set_time_limit(0);
require_once '../../lib/base.php';
if (OC::checkUpgrade(false)) {
+ // if a user is currently logged in, their session must be ignored to
+ // avoid side effects
+ \OC_User::setIncognitoMode(true);
+
$l = new \OC_L10N('core');
$eventSource = new OC_EventSource();
$updater = new \OC\Updater(\OC_Log::$object);