summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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++;
}