From 3388758d046584d1425897a9b3d311c2e88b65e4 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 25 Mar 2021 09:01:09 +0100 Subject: Remove event listener to udpate events that are not present anymore Signed-off-by: Morris Jobke --- core/Command/Upgrade.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'core/Command/Upgrade.php') diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php index 7ab5fe8e5fd..9dc1c4642b5 100644 --- a/core/Command/Upgrade.php +++ b/core/Command/Upgrade.php @@ -203,12 +203,6 @@ class Upgrade extends Command { $updater->listen('\OC\Updater', 'dbUpgrade', function () use ($output) { $output->writeln('Updated database'); }); - $updater->listen('\OC\Updater', 'dbSimulateUpgradeBefore', function () use ($output) { - $output->writeln('Checking whether the database schema can be updated (this can take a long time depending on the database size)'); - }); - $updater->listen('\OC\Updater', 'dbSimulateUpgrade', function () use ($output) { - $output->writeln('Checked database schema update'); - }); $updater->listen('\OC\Updater', 'incompatibleAppDisabled', function ($app) use ($output) { $output->writeln('Disabled incompatible app: ' . $app . ''); }); @@ -221,15 +215,9 @@ class Upgrade extends Command { $updater->listen('\OC\Updater', 'checkAppStoreApp', function ($app) use ($output) { $output->writeln('Checked for update of app "' . $app . '" in appstore '); }); - $updater->listen('\OC\Updater', 'appUpgradeCheckBefore', function () use ($output) { - $output->writeln('Checking updates of apps'); - }); $updater->listen('\OC\Updater', 'appSimulateUpdate', function ($app) use ($output) { $output->writeln("Checking whether the database schema for <$app> can be updated (this can take a long time depending on the database size)"); }); - $updater->listen('\OC\Updater', 'appUpgradeCheck', function () use ($output) { - $output->writeln('Checked database schema update for apps'); - }); $updater->listen('\OC\Updater', 'appUpgradeStarted', function ($app, $version) use ($output) { $output->writeln("Updating <$app> ..."); }); -- cgit v1.2.3