mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #26834 from nextcloud/enh/only_run_once
Inject the repair job only once
This commit is contained in:
commit
b89f4b33f0
1 changed files with 2 additions and 1 deletions
|
|
@ -53,7 +53,8 @@ class LookupServerSendCheck implements IRepairStep {
|
|||
$versionFromBeforeUpdate = $this->config->getSystemValue('version', '0.0.0.0');
|
||||
|
||||
// was added to 22.0.0.3
|
||||
return version_compare($versionFromBeforeUpdate, '22.0.0.3', '<');
|
||||
return version_compare($versionFromBeforeUpdate, '22.0.0.3', '<') &&
|
||||
version_compare($versionFromBeforeUpdate, '22.0.0.0', '>=');
|
||||
}
|
||||
|
||||
public function run(IOutput $output): void {
|
||||
|
|
|
|||
Loading…
Reference in a new issue