diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-11-15 14:34:09 +0100 |
---|---|---|
committer | MichaIng <micha@dietpi.com> | 2021-11-22 20:54:58 +0100 |
commit | d0689fb707c4b7f8d0a83b105d46902ccdade845 (patch) | |
tree | 4bbeb2ccdcb278dcc3f107956f9d1cc191a7bab0 /core/ajax | |
parent | 1256331c778540497f525cae5e8a108a92cee607 (diff) | |
download | nextcloud-server-d0689fb707c4b7f8d0a83b105d46902ccdade845.tar.gz nextcloud-server-d0689fb707c4b7f8d0a83b105d46902ccdade845.zip |
Do not print verbose info about app updates if there are none
This is cosmetical but if you have a large number of apps installed then
you'll see a wall of text during the server and app upgrade when it
tries to update each app via the app store. In may cases nothing will be
updated. For those boring cases we can hide the verbose info, but show
when occ is run with -v. Any actual update will still print a few lines.
Those are the important ones for the admin.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/update.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index 09931ec91e2..1459507eaaa 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -171,15 +171,9 @@ if (\OCP\Util::needUpgrade()) { $updater->listen('\OC\Updater', 'appUpgradeCheckBefore', function () use ($eventSource, $l) { $eventSource->send('success', $l->t('Checking updates of apps')); }); - $updater->listen('\OC\Updater', 'checkAppStoreAppBefore', function ($app) use ($eventSource, $l) { - $eventSource->send('success', $l->t('Checking for update of app "%s" in appstore', [$app])); - }); $updater->listen('\OC\Updater', 'upgradeAppStoreApp', function ($app) use ($eventSource, $l) { $eventSource->send('success', $l->t('Update app "%s" from appstore', [$app])); }); - $updater->listen('\OC\Updater', 'checkAppStoreApp', function ($app) use ($eventSource, $l) { - $eventSource->send('success', $l->t('Checked for update of app "%s" in appstore', [$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])); }); |