Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
adjust applicable version
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Feb 17, 2021
commit 8315de942c61a548a795aefa95eea356058ca3ea
2 changes: 1 addition & 1 deletion lib/private/Repair/RepairDavShares.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected function repairUnencodedGroupShares() {
*/
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');
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Repair/RepairDavSharesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function testRun() {
$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');
Expand Down