summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-27 23:36:52 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-02-27 23:36:52 +0100
commitb93ebe18602b6113f778f148a3f0a83f6dd1d391 (patch)
tree6f3c8321befc71185093189d88e9b18d12f81dbd /core
parent7311c2bb5d724c7c5e3c5ade6b26e3358597a04e (diff)
parent2f036bcc5425bc1b67f7caad4da78ab3efd0fba2 (diff)
downloadnextcloud-server-b93ebe18602b6113f778f148a3f0a83f6dd1d391.tar.gz
nextcloud-server-b93ebe18602b6113f778f148a3f0a83f6dd1d391.zip
Merge master
Diffstat (limited to 'core')
-rw-r--r--core/ajax/update.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index 20ab045c892..b112cf6266b 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -4,6 +4,7 @@ $RUNTIME_NOAPPS = true;
require_once '../../lib/base.php';
if (OC::checkUpgrade(false)) {
+ \OC_DB::enableCaching(false);
$updateEventSource = new OC_EventSource();
$watcher = new UpdateWatcher($updateEventSource);
OC_Hook::connect('update', 'success', $watcher, 'success');
@@ -64,4 +65,4 @@ class UpdateWatcher {
$this->eventSource->close();
}
-} \ No newline at end of file
+}