Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-11-15 16:34:09 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-11-18 11:11:22 +0300
commit781ec814e6026fbe2531cb9ba5f4d89a3e270f62 (patch)
tree45bb6c6259f823f122a9ea07a19dd71fc77274c8 /core/Command
parent69ab7b4a275bc6cabaa70ba93a3c63899c98cca0 (diff)
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/Command')
-rw-r--r--core/Command/Upgrade.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php
index 13e150217b9..efc7124f2ea 100644
--- a/core/Command/Upgrade.php
+++ b/core/Command/Upgrade.php
@@ -204,15 +204,9 @@ class Upgrade extends Command {
$updater->listen('\OC\Updater', 'incompatibleAppDisabled', function ($app) use ($output) {
$output->writeln('<comment>Disabled incompatible app: ' . $app . '</comment>');
});
- $updater->listen('\OC\Updater', 'checkAppStoreAppBefore', function ($app) use ($output) {
- $output->writeln('<info>Checking for update of app ' . $app . ' in appstore</info>');
- });
$updater->listen('\OC\Updater', 'upgradeAppStoreApp', function ($app) use ($output) {
$output->writeln('<info>Update app ' . $app . ' from App Store</info>');
});
- $updater->listen('\OC\Updater', 'checkAppStoreApp', function ($app) use ($output) {
- $output->writeln('<info>Checked for update of app "' . $app . '" in App Store </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>");
});