summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-11 11:23:36 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-11 11:23:36 +0100
commit939cd43b5812909c8e5de3538988758063d07330 (patch)
tree141a6bbf026cf5bef141a4460efd64d9db40e06f
parent2ee39cf4cfd1ad946ac93af2d93bd8f75f273100 (diff)
parente43bf545037e20b5556f9840cf5b04193182dd90 (diff)
downloadnextcloud-server-939cd43b5812909c8e5de3538988758063d07330.tar.gz
nextcloud-server-939cd43b5812909c8e5de3538988758063d07330.zip
Merge pull request #21586 from owncloud/fix-no-minimum-version
Assume apps from the appstore are compatible with the current version
-rw-r--r--lib/private/app.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index 500a60060e6..705d60cf8d6 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -912,6 +912,11 @@ class OC_App {
$apps[$i]['internalclass'] = 'recommendedapp';
}
+ // Apps from the appstore are always assumed to be compatible with the
+ // the current release as the initial filtering is done on the appstore
+ $apps[$i]['dependencies']['owncloud']['@attributes']['min-version'] = implode('.', \OCP\Util::getVersion());
+ $apps[$i]['dependencies']['owncloud']['@attributes']['max-version'] = implode('.', \OCP\Util::getVersion());
+
$i++;
}