From 0c7c9a3b950ce4261a6fc76cb23f97c3673a03e4 Mon Sep 17 00:00:00 2001
From: Vincent Petry <pvince81@owncloud.com>
Date: Thu, 14 Jul 2016 14:53:50 +0200
Subject: [PATCH] Adjust repair version check for unmerged shares

---
 lib/private/Repair/RepairUnmergedShares.php | 2 +-
 version.php                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/private/Repair/RepairUnmergedShares.php b/lib/private/Repair/RepairUnmergedShares.php
index 3e28bcf4bd7..15a4762da79 100644
--- a/lib/private/Repair/RepairUnmergedShares.php
+++ b/lib/private/Repair/RepairUnmergedShares.php
@@ -302,7 +302,7 @@ class RepairUnmergedShares implements IRepairStep {
 
 	public function run(IOutput $output) {
 		$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
 
 			$function = function(IUser $user) use ($output) {
diff --git a/version.php b/version.php
index 562dda0a792..e6298ae238f 100644
--- a/version.php
+++ b/version.php
@@ -25,7 +25,7 @@
 // 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
 // when updating major/minor version number.
-$OC_Version = array(9, 2, 0, 0);
+$OC_Version = array(9, 2, 0, 1);
 
 // The human readable string
 $OC_VersionString = '11.0 alpha';
-- 
GitLab