From 4b3a3dc0bb970c4de8ef1c4ea04f0d6f0aab8a2a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 14 Jan 2015 12:48:59 +0100 Subject: Check new and old ways of required oC version for app compatibility --- lib/private/app/dependencyanalyzer.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/private/app') diff --git a/lib/private/app/dependencyanalyzer.php b/lib/private/app/dependencyanalyzer.php index ae40e8523fc..e4564c4e036 100644 --- a/lib/private/app/dependencyanalyzer.php +++ b/lib/private/app/dependencyanalyzer.php @@ -182,6 +182,8 @@ class DependencyAnalyzer { $minVersion = $dependencies['owncloud']['@attributes']['min-version']; } elseif (isset($appInfo['requiremin'])) { $minVersion = $appInfo['requiremin']; + } elseif (isset($appInfo['require'])) { + $minVersion = $appInfo['require']; } $maxVersion = null; if (isset($dependencies['owncloud']['@attributes']['max-version'])) { -- cgit v1.2.3