diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2021-03-25 11:12:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-25 11:12:34 +0100 |
commit | f97491eb8f13099a31a984477f67eb55b1f333f7 (patch) | |
tree | 423fe7a40012735398624fd3fb17df31d22f9a41 /lib | |
parent | fab7c84b922220d776f29a203fffdca93f01e68b (diff) | |
parent | 3388758d046584d1425897a9b3d311c2e88b65e4 (diff) | |
download | nextcloud-server-f97491eb8f13099a31a984477f67eb55b1f333f7.tar.gz nextcloud-server-f97491eb8f13099a31a984477f67eb55b1f333f7.zip |
Merge pull request #26285 from nextcloud/techdebt/noid/cleanup-update-events
Remove event listener to udpate events that are not present anymore
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Updater.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/private/Updater.php b/lib/private/Updater.php index f6ba27991e7..78c652b6ee4 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -538,12 +538,6 @@ class Updater extends BasicEmitter { $this->listen('\OC\Updater', 'dbUpgrade', function () use ($log) { $log->info('\OC\Updater::dbUpgrade: Updated database', ['app' => 'updater']); }); - $this->listen('\OC\Updater', 'dbSimulateUpgradeBefore', function () use ($log) { - $log->info('\OC\Updater::dbSimulateUpgradeBefore: Checking whether the database schema can be updated (this can take a long time depending on the database size)', ['app' => 'updater']); - }); - $this->listen('\OC\Updater', 'dbSimulateUpgrade', function () use ($log) { - $log->info('\OC\Updater::dbSimulateUpgrade: Checked database schema update', ['app' => 'updater']); - }); $this->listen('\OC\Updater', 'incompatibleAppDisabled', function ($app) use ($log) { $log->info('\OC\Updater::incompatibleAppDisabled: Disabled incompatible app: ' . $app, ['app' => 'updater']); }); @@ -556,15 +550,9 @@ class Updater extends BasicEmitter { $this->listen('\OC\Updater', 'checkAppStoreApp', function ($app) use ($log) { $log->info('\OC\Updater::checkAppStoreApp: Checked for update of app "' . $app . '" in appstore', ['app' => 'updater']); }); - $this->listen('\OC\Updater', 'appUpgradeCheckBefore', function () use ($log) { - $log->info('\OC\Updater::appUpgradeCheckBefore: Checking updates of apps', ['app' => 'updater']); - }); $this->listen('\OC\Updater', 'appSimulateUpdate', function ($app) use ($log) { $log->info('\OC\Updater::appSimulateUpdate: Checking whether the database schema for <' . $app . '> can be updated (this can take a long time depending on the database size)', ['app' => 'updater']); }); - $this->listen('\OC\Updater', 'appUpgradeCheck', function () use ($log) { - $log->info('\OC\Updater::appUpgradeCheck: Checked database schema update for apps', ['app' => 'updater']); - }); $this->listen('\OC\Updater', 'appUpgradeStarted', function ($app) use ($log) { $log->info('\OC\Updater::appUpgradeStarted: Updating <' . $app . '> ...', ['app' => 'updater']); }); |