Inject the repair job only once
Since we backproted we should do a better check. Else we run the code again for everybody upgrading to 22. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
22ba8fa78d
commit
3b074c811a
|
@ -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 New Issue