aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Upgrade.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-08-25 16:26:31 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-08-25 16:26:31 +0200
commit9a2902553495baa6fb1515176a8bbaab5633fb58 (patch)
treef795d5a7053ee1ed69c989946cc9136cd5917550 /core/Command/Upgrade.php
parent652ab6da3f5309b0ea6e1e19ce4d915ecb6cc9b1 (diff)
downloadnextcloud-server-9a2902553495baa6fb1515176a8bbaab5633fb58.tar.gz
nextcloud-server-9a2902553495baa6fb1515176a8bbaab5633fb58.zip
Parameter of RepairAdvanceEvent is actually an increment, not a step id
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/Command/Upgrade.php')
-rw-r--r--core/Command/Upgrade.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php
index 05f0615d33b..d476b91d6bf 100644
--- a/core/Command/Upgrade.php
+++ b/core/Command/Upgrade.php
@@ -137,7 +137,7 @@ class Upgrade extends Command {
if (!empty($desc)) {
$progress->setMessage($desc);
}
- $progress->advance($event->getCurrentStep());
+ $progress->advance($event->getIncrement());
} elseif ($event instanceof RepairFinishEvent) {
$progress->setMessage('Done');
$progress->finish();