aboutsummaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-08-19 13:33:38 +0200
committerRobin Appelman <icewind@owncloud.com>2014-08-19 13:33:38 +0200
commitfdfc5c67f8e90ac0a439579e9a64d1a643686bd3 (patch)
tree49c30ace401ab4eab17be482ec6cb3a1cbf85399 /core/ajax
parentfdb203ff1eedbad298984ca0670985cea52f619a (diff)
parentab590ce9a06cf8803eeef9555c66b20bea58041d (diff)
downloadnextcloud-server-fdfc5c67f8e90ac0a439579e9a64d1a643686bd3.tar.gz
nextcloud-server-fdfc5c67f8e90ac0a439579e9a64d1a643686bd3.zip
Merge pull request #9866 from owncloud/app-upgrade
Don't do app upgrades in the background
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/update.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index 698614c975f..627ada080c8 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -18,6 +18,12 @@ if (OC::checkUpgrade(false)) {
$updater->listen('\OC\Updater', 'dbSimulateUpgrade', function () use ($eventSource, $l) {
$eventSource->send('success', (string)$l->t('Checked database schema update'));
});
+ $updater->listen('\OC\Updater', 'appUpgradeCheck', function () use ($eventSource, $l) {
+ $eventSource->send('success', (string)$l->t('Checked database schema update for apps'));
+ });
+ $updater->listen('\OC\Updater', 'appUpgrade', function ($app, $version) use ($eventSource, $l) {
+ $eventSource->send('success', (string)$l->t('Updated "%s" to %s', array($app, $version)));
+ });
$updater->listen('\OC\Updater', 'disabledApps', function ($appList) use ($eventSource, $l) {
$list = array();
foreach ($appList as $appId) {