lib/private/App/DependencyAnalyzer.php 1 location
|
@@ 304-308 (lines=5) @@
|
301 |
|
$minVersion = $appInfo['require']; |
302 |
|
} |
303 |
|
$maxVersion = null; |
304 |
|
if (isset($dependencies['owncloud']['@attributes']['max-version'])) { |
305 |
|
$maxVersion = $dependencies['owncloud']['@attributes']['max-version']; |
306 |
|
} elseif (isset($appInfo['requiremax'])) { |
307 |
|
$maxVersion = $appInfo['requiremax']; |
308 |
|
} |
309 |
|
|
310 |
|
if ($minVersion !== null) { |
311 |
|
if ($this->compareSmaller($this->platform->getOcVersion(), $minVersion)) { |
lib/private/legacy/app.php 1 location
|
@@ 922-926 (lines=5) @@
|
919 |
|
$requireMin = $appInfo['require']; |
920 |
|
} |
921 |
|
|
922 |
|
if (isset($appInfo['dependencies']['owncloud']['@attributes']['max-version'])) { |
923 |
|
$requireMax = $appInfo['dependencies']['owncloud']['@attributes']['max-version']; |
924 |
|
} elseif (isset($appInfo['requiremax'])) { |
925 |
|
$requireMax = $appInfo['requiremax']; |
926 |
|
} |
927 |
|
|
928 |
|
if (\is_array($ocVersion)) { |
929 |
|
$ocVersion = \implode('.', $ocVersion); |