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
path: root/core
diff options
context:
space:
mode:
authorMichaIng <micha@dietpi.com>2021-11-22 05:22:36 +0300
committerGitHub <noreply@github.com>2021-11-22 05:22:36 +0300
commit2631f48c440d39df43553312691a2e8cb9084b97 (patch)
tree1157b8422697739948afb2e805959e63e1be96b1 /core
parent525215b788566591c1083c45f3390cc6f7ae3d1b (diff)
parent781ec814e6026fbe2531cb9ba5f4d89a3e270f62 (diff)
Merge pull request #29708 from nextcloud/fix/no-app-update-no-verbose
Do not print verbose info about app updates if there are none
Diffstat (limited to 'core')
-rw-r--r--core/Command/Upgrade.php6
-rw-r--r--core/ajax/update.php6
2 files changed, 0 insertions, 12 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>");
});
diff --git a/core/ajax/update.php b/core/ajax/update.php
index c1ddddbecdb..39a99323cf5 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -160,15 +160,9 @@ if (\OCP\Util::needUpgrade()) {
$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]));
});