Merge pull request #21586 from owncloud/fix-no-minimum-version
Assume apps from the appstore are compatible with the current version
This commit is contained in:
commit
939cd43b58
1 changed files with 5 additions and 0 deletions
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue