diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-09-04 01:10:02 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-09-04 13:26:51 +0200 |
commit | fa3393674c854e884abf10d3b82dab03aca83c61 (patch) | |
tree | 0560b9ec8bf3ff28fb6cea81bfe4255f48e7157d /core/ajax | |
parent | 8605e2e6a5ac637ed552d9469f3dc31717b4ea3e (diff) | |
download | nextcloud-server-fa3393674c854e884abf10d3b82dab03aca83c61.tar.gz nextcloud-server-fa3393674c854e884abf10d3b82dab03aca83c61.zip |
Better phpdoc and method naming
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index 89ce2798378..2a586535e70 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -4,7 +4,7 @@ require_once '../../lib/base.php'; if (OC::checkUpgrade(false)) { $l = new \OC_L10N('core'); - $eventSource = \OC::$server->getEventSource(); + $eventSource = \OC::$server->createEventSource(); $updater = new \OC\Updater(\OC_Log::$object); $updater->listen('\OC\Updater', 'maintenanceStart', function () use ($eventSource, $l) { $eventSource->send('success', (string)$l->t('Turned on maintenance mode')); |