diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-08-25 16:26:31 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-08-25 16:26:31 +0200 |
commit | 9a2902553495baa6fb1515176a8bbaab5633fb58 (patch) | |
tree | f795d5a7053ee1ed69c989946cc9136cd5917550 /core/ajax/update.php | |
parent | 652ab6da3f5309b0ea6e1e19ce4d915ecb6cc9b1 (diff) | |
download | nextcloud-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/ajax/update.php')
-rw-r--r-- | core/ajax/update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index acd8c3b22c0..0fe398df7bf 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -76,7 +76,7 @@ class FeedBackHandler { $this->progressStateStep = 0; $this->currentStep = $event->getCurrentStepName(); } elseif ($event instanceof RepairAdvanceEvent) { - $this->progressStateStep += $event->getCurrentStep(); + $this->progressStateStep += $event->getIncrement(); $desc = $event->getDescription(); if (empty($desc)) { $desc = $this->currentStep; |