Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-07-12 23:42:46 +0400
committerArthur Schiwon <blizzz@owncloud.com>2013-07-12 23:42:46 +0400
commit9728192dc8a42a3408bbd62c3928cee838544fc6 (patch)
tree8dee510cbcd9de39d47e1c7bafcb7009e2a19c2b /core
parentc767ac3f163b8747686588ad589e52b31aa12a36 (diff)
Stable5 adjustements (incl copy of lib/hooks/ from master) to make backport of #3963 work
Diffstat (limited to 'core')
-rw-r--r--core/ajax/update.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index 43ed75b07f1..309bad819c8 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -5,7 +5,7 @@ require_once '../../lib/base.php';
if (OC::checkUpgrade(false)) {
$eventSource = new OC_EventSource();
- $updater = new \OC\Updater(\OC_Log::$object);
+ $updater = new \OC\Updater();
$updater->listen('\OC\Updater', 'maintenanceStart', function () use ($eventSource) {
$eventSource->send('success', 'Turned on maintenance mode');
});
@@ -29,9 +29,8 @@ if (OC::checkUpgrade(false)) {
$eventSource->close();
OC_Config::setValue('maintenance', false);
});
-
$updater->upgrade();
$eventSource->send('done', '');
$eventSource->close();
-}
+} \ No newline at end of file