diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-28 00:48:42 +0400 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-28 00:48:42 +0400 |
commit | 9508a58c79a175cabcf46b5014b34730707e4fc0 (patch) | |
tree | 1d0f73e186b6b8665fbf67cb5cee594a6d257b11 /core | |
parent | a8bab023b2095b5b78c05b1ebadb73bb46459509 (diff) | |
parent | 47b899e0c8d818614ad6e52d684b9954b0d769ac (diff) |
Merge pull request #1944 from owncloud/query-caching-upgrade
Disable prepared query caching while doing an upgrade
Diffstat (limited to 'core')
-rw-r--r-- | core/ajax/update.php | 3 |
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 +} |