adjust applicable version

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2021-02-17 17:27:52 +01:00
parent 1bb5314491
commit 8315de942c
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ class RepairDavShares implements IRepairStep {
*/
public function run(IOutput $output) {
$versionFromBeforeUpdate = $this->config->getSystemValue('version', '0.0.0');
if (version_compare($versionFromBeforeUpdate, '20.0.7', '<')
if (version_compare($versionFromBeforeUpdate, '19.0.9', '<')
&& $this->repairUnencodedGroupShares()
) {
$output->info('Repaired DAV group shares');

View File

@ -74,7 +74,7 @@ class RepairDavSharesTest extends TestCase {
$this->config->expects($this->any())
->method('getSystemValue')
->with('version', '0.0.0')
->willReturn('20.0.2');
->willReturn('19.0.2');
$this->output->expects($this->atLeastOnce())
->method('info');