Merge pull request #16290 from owncloud/upgrade-info-for-3rdparty-apps

Add info message for upgrade of an 3rdparty app
This commit is contained in:
Lukas Reschke 2015-05-13 08:32:42 +02:00
commit e753e8cc37
1 changed files with 3 additions and 0 deletions

View File

@ -130,6 +130,9 @@ class Upgrade extends Command {
$updater->listen('\OC\Updater', 'thirdPartyAppDisabled', function ($app) use($output) { $updater->listen('\OC\Updater', 'thirdPartyAppDisabled', function ($app) use($output) {
$output->writeln('<info>Disabled 3rd-party app: ' . $app . '</info>'); $output->writeln('<info>Disabled 3rd-party app: ' . $app . '</info>');
}); });
$updater->listen('\OC\Updater', 'upgradeAppStoreApp', function ($app) use($output) {
$output->writeln('<info>Update 3rd-party app: ' . $app . '</info>');
});
$updater->listen('\OC\Updater', 'repairWarning', function ($app) use($output) { $updater->listen('\OC\Updater', 'repairWarning', function ($app) use($output) {
$output->writeln('<error>Repair warning: ' . $app . '</error>'); $output->writeln('<error>Repair warning: ' . $app . '</error>');
}); });