Send feedback from upgrading apps to the upgrade ui
This commit is contained in:
parent
776cc45a5a
commit
3184983565
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue