diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php index 13e150217b999..efc7124f2eada 100644 --- a/core/Command/Upgrade.php +++ b/core/Command/Upgrade.php @@ -204,15 +204,9 @@ function ($success) use ($output, $self) { $updater->listen('\OC\Updater', 'incompatibleAppDisabled', function ($app) use ($output) { $output->writeln('Disabled incompatible app: ' . $app . ''); }); - $updater->listen('\OC\Updater', 'checkAppStoreAppBefore', function ($app) use ($output) { - $output->writeln('Checking for update of app ' . $app . ' in appstore'); - }); $updater->listen('\OC\Updater', 'upgradeAppStoreApp', function ($app) use ($output) { $output->writeln('Update app ' . $app . ' from App Store'); }); - $updater->listen('\OC\Updater', 'checkAppStoreApp', function ($app) use ($output) { - $output->writeln('Checked for update of app "' . $app . '" in App Store '); - }); $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)"); }); diff --git a/core/ajax/update.php b/core/ajax/update.php index c1ddddbecdbc0..39a99323cf53e 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -160,15 +160,9 @@ public function handleRepairFeedback($event) { $updater->listen('\OC\Updater', 'dbUpgrade', function () use ($eventSource, $l) { $eventSource->send('success', $l->t('Updated database')); }); - $updater->listen('\OC\Updater', 'checkAppStoreAppBefore', function ($app) use ($eventSource, $l) { - $eventSource->send('success', $l->t('Checking for update of app "%s" in App Store', [$app])); - }); $updater->listen('\OC\Updater', 'upgradeAppStoreApp', function ($app) use ($eventSource, $l) { $eventSource->send('success', $l->t('Update app "%s" from App Store', [$app])); }); - $updater->listen('\OC\Updater', 'checkAppStoreApp', function ($app) use ($eventSource, $l) { - $eventSource->send('success', $l->t('Checked for update of app "%s" in App Store', [$app])); - }); $updater->listen('\OC\Updater', 'appSimulateUpdate', function ($app) use ($eventSource, $l) { $eventSource->send('success', $l->t('Checking whether the database schema for %s can be updated (this can take a long time depending on the database size)', [$app])); }); diff --git a/lib/private/Updater.php b/lib/private/Updater.php index 9b7a53a6e628a..50ab431a229fb 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -559,13 +559,13 @@ private function logAllEvents(): void { $log->info('\OC\Updater::incompatibleAppDisabled: Disabled incompatible app: ' . $app, ['app' => 'updater']); }); $this->listen('\OC\Updater', 'checkAppStoreAppBefore', function ($app) use ($log) { - $log->info('\OC\Updater::checkAppStoreAppBefore: Checking for update of app "' . $app . '" in appstore', ['app' => 'updater']); + $log->debug('\OC\Updater::checkAppStoreAppBefore: Checking for update of app "' . $app . '" in appstore', ['app' => 'updater']); }); $this->listen('\OC\Updater', 'upgradeAppStoreApp', function ($app) use ($log) { $log->info('\OC\Updater::upgradeAppStoreApp: Update app "' . $app . '" from appstore', ['app' => 'updater']); }); $this->listen('\OC\Updater', 'checkAppStoreApp', function ($app) use ($log) { - $log->info('\OC\Updater::checkAppStoreApp: Checked for update of app "' . $app . '" in appstore', ['app' => 'updater']); + $log->debug('\OC\Updater::checkAppStoreApp: Checked for update of app "' . $app . '" in appstore', ['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']);