From cc0812332c2641e15fadbaf3241b9a9f61272a27 Mon Sep 17 00:00:00 2001
From: Morris Jobke <hey@morrisjobke.de>
Date: Tue, 29 Sep 2015 10:27:01 +0200
Subject: [PATCH] add more precise version to also repair git master instances

---
 lib/repair/repairinvalidshares.php | 2 +-
 version.php                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/repair/repairinvalidshares.php b/lib/repair/repairinvalidshares.php
index f754c17939..21b4d8013e 100644
--- a/lib/repair/repairinvalidshares.php
+++ b/lib/repair/repairinvalidshares.php
@@ -71,7 +71,7 @@ class RepairInvalidShares extends BasicEmitter implements \OC\RepairStep {
 
 	public function run() {
 		$ocVersionFromBeforeUpdate = $this->config->getSystemValue('version', '0.0.0');
-		if (version_compare($ocVersionFromBeforeUpdate, '8.2.0', '<')) {
+		if (version_compare($ocVersionFromBeforeUpdate, '8.2.0.7', '<')) {
 			// this situation was only possible before 8.2
 			$this->removeExpirationDateFromNonLinkShares();
 		}
diff --git a/version.php b/version.php
index 711d82f1ca..925e897d1a 100644
--- a/version.php
+++ b/version.php
@@ -23,7 +23,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(8, 2, 0, 6);
+$OC_Version = array(8, 2, 0, 7);
 
 // The human readable string
 $OC_VersionString = '8.2 beta1';
-- 
GitLab