diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-07-12 23:42:46 +0400 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-07-12 23:42:46 +0400 |
commit | 9728192dc8a42a3408bbd62c3928cee838544fc6 (patch) | |
tree | 8dee510cbcd9de39d47e1c7bafcb7009e2a19c2b /core | |
parent | c767ac3f163b8747686588ad589e52b31aa12a36 (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.php | 5 |
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 |