aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Upgrade.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-03-25 09:01:09 +0100
committerMorris Jobke <hey@morrisjobke.de>2021-03-25 09:01:09 +0100
commit3388758d046584d1425897a9b3d311c2e88b65e4 (patch)
tree4e3972191b21f9961769df33edc1818fa480eef5 /core/Command/Upgrade.php
parentc15172bc4ee6183aa0c68a8be71ff623a62031ff (diff)
downloadnextcloud-server-3388758d046584d1425897a9b3d311c2e88b65e4.tar.gz
nextcloud-server-3388758d046584d1425897a9b3d311c2e88b65e4.zip
Remove event listener to udpate events that are not present anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/Command/Upgrade.php')
-rw-r--r--core/Command/Upgrade.php12
1 files changed, 0 insertions, 12 deletions
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('<info>Updated database</info>');
});
- $updater->listen('\OC\Updater', 'dbSimulateUpgradeBefore', function () use ($output) {
- $output->writeln('<info>Checking whether the database schema can be updated (this can take a long time depending on the database size)</info>');
- });
- $updater->listen('\OC\Updater', 'dbSimulateUpgrade', function () use ($output) {
- $output->writeln('<info>Checked database schema update</info>');
- });
$updater->listen('\OC\Updater', 'incompatibleAppDisabled', function ($app) use ($output) {
$output->writeln('<comment>Disabled incompatible app: ' . $app . '</comment>');
});
@@ -221,15 +215,9 @@ class Upgrade extends Command {
$updater->listen('\OC\Updater', 'checkAppStoreApp', function ($app) use ($output) {
$output->writeln('<info>Checked for update of app "' . $app . '" in appstore </info>');
});
- $updater->listen('\OC\Updater', 'appUpgradeCheckBefore', function () use ($output) {
- $output->writeln('<info>Checking updates of apps</info>');
- });
$updater->listen('\OC\Updater', 'appSimulateUpdate', function ($app) use ($output) {
$output->writeln("<info>Checking whether the database schema for <$app> can be updated (this can take a long time depending on the database size)</info>");
});
- $updater->listen('\OC\Updater', 'appUpgradeCheck', function () use ($output) {
- $output->writeln('<info>Checked database schema update for apps</info>');
- });
$updater->listen('\OC\Updater', 'appUpgradeStarted', function ($app, $version) use ($output) {
$output->writeln("<info>Updating <$app> ...</info>");
});