@@ -34,30 +34,30 @@ |
||
| 34 | 34 | |
| 35 | 35 | class LookupServerSendCheck implements IRepairStep { |
| 36 | 36 | |
| 37 | - /** @var IJobList */ |
|
| 38 | - private $jobList; |
|
| 37 | + /** @var IJobList */ |
|
| 38 | + private $jobList; |
|
| 39 | 39 | |
| 40 | - /** @var IConfig */ |
|
| 41 | - private $config; |
|
| 40 | + /** @var IConfig */ |
|
| 41 | + private $config; |
|
| 42 | 42 | |
| 43 | - public function __construct(IJobList $jobList, IConfig $config) { |
|
| 44 | - $this->jobList = $jobList; |
|
| 45 | - $this->config = $config; |
|
| 46 | - } |
|
| 43 | + public function __construct(IJobList $jobList, IConfig $config) { |
|
| 44 | + $this->jobList = $jobList; |
|
| 45 | + $this->config = $config; |
|
| 46 | + } |
|
| 47 | 47 | |
| 48 | - public function getName(): string { |
|
| 49 | - return 'Add background job to set the lookup server share state for users'; |
|
| 50 | - } |
|
| 48 | + public function getName(): string { |
|
| 49 | + return 'Add background job to set the lookup server share state for users'; |
|
| 50 | + } |
|
| 51 | 51 | |
| 52 | - private function shouldRun(): bool { |
|
| 53 | - $versionFromBeforeUpdate = $this->config->getSystemValue('version', '0.0.0.0'); |
|
| 52 | + private function shouldRun(): bool { |
|
| 53 | + $versionFromBeforeUpdate = $this->config->getSystemValue('version', '0.0.0.0'); |
|
| 54 | 54 | |
| 55 | - // was added to 22.0.0.3 |
|
| 56 | - return version_compare($versionFromBeforeUpdate, '22.0.0.3', '<') && |
|
| 57 | - version_compare($versionFromBeforeUpdate, '22.0.0.0', '>='); |
|
| 58 | - } |
|
| 55 | + // was added to 22.0.0.3 |
|
| 56 | + return version_compare($versionFromBeforeUpdate, '22.0.0.3', '<') && |
|
| 57 | + version_compare($versionFromBeforeUpdate, '22.0.0.0', '>='); |
|
| 58 | + } |
|
| 59 | 59 | |
| 60 | - public function run(IOutput $output): void { |
|
| 61 | - $this->jobList->add(LookupServerSendCheckBackgroundJob::class); |
|
| 62 | - } |
|
| 60 | + public function run(IOutput $output): void { |
|
| 61 | + $this->jobList->add(LookupServerSendCheckBackgroundJob::class); |
|
| 62 | + } |
|
| 63 | 63 | } |