Adjust repair version check for unmerged shares

This commit is contained in:
Vincent Petry 2016-07-14 14:53:50 +02:00 committed by Roeland Jago Douma
parent 0f3674a446
commit 0c7c9a3b95
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
2 changed files with 2 additions and 2 deletions

View File

@ -302,7 +302,7 @@ class RepairUnmergedShares implements IRepairStep {
public function run(IOutput $output) { public function run(IOutput $output) {
$ocVersionFromBeforeUpdate = $this->config->getSystemValue('version', '0.0.0'); $ocVersionFromBeforeUpdate = $this->config->getSystemValue('version', '0.0.0');
if (version_compare($ocVersionFromBeforeUpdate, '9.0.4.0', '<')) { if (version_compare($ocVersionFromBeforeUpdate, '9.1.0.16', '<')) {
// this situation was only possible between 9.0.0 and 9.0.3 included // this situation was only possible between 9.0.0 and 9.0.3 included
$function = function(IUser $user) use ($output) { $function = function(IUser $user) use ($output) {

View File

@ -25,7 +25,7 @@
// We only can count up. The 4. digit is only for the internal patchlevel to trigger DB upgrades // We only can count up. The 4. digit is only for the internal patchlevel to trigger DB upgrades
// between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel // between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel
// when updating major/minor version number. // when updating major/minor version number.
$OC_Version = array(9, 2, 0, 0); $OC_Version = array(9, 2, 0, 1);
// The human readable string // The human readable string
$OC_VersionString = '11.0 alpha'; $OC_VersionString = '11.0 alpha';