diff options
Diffstat (limited to 'core/ajax/update.php')
-rw-r--r-- | core/ajax/update.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index 37abdc5dc3b..d23e3b0d56d 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -160,6 +160,15 @@ if (OC::checkUpgrade(false)) { $updater->listen('\OC\Updater', 'appUpgradeCheckBefore', function () use ($eventSource, $l) { $eventSource->send('success', (string)$l->t('Checking updates of apps')); }); + $updater->listen('\OC\Updater', 'checkAppStoreAppBefore', function ($app) use ($eventSource, $l) { + $eventSource->send('success', (string)$l->t('Checking for update of app "%s" in appstore', [$app])); + }); + $updater->listen('\OC\Updater', 'upgradeAppStoreApp', function ($app) use ($eventSource, $l) { + $eventSource->send('success', (string)$l->t('Update app "%s" from appstore', [$app])); + }); + $updater->listen('\OC\Updater', 'checkAppStoreApp', function ($app) use ($eventSource, $l) { + $eventSource->send('success', (string)$l->t('Checked for update of app "%s" in appstore', [$app])); + }); $updater->listen('\OC\Updater', 'appSimulateUpdate', function ($app) use ($eventSource, $l) { $eventSource->send('success', (string)$l->t('Checking whether the database schema for %s can be updated (this can take a long time depending on the database size)', [$app])); }); |