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
|
@@ 926-930 (lines=5) @@
|
| 923 |
|
$requireMin = $appInfo['require']; |
| 924 |
|
} |
| 925 |
|
|
| 926 |
|
if (isset($appInfo['dependencies']['owncloud']['@attributes']['max-version'])) { |
| 927 |
|
$requireMax = $appInfo['dependencies']['owncloud']['@attributes']['max-version']; |
| 928 |
|
} elseif (isset($appInfo['requiremax'])) { |
| 929 |
|
$requireMax = $appInfo['requiremax']; |
| 930 |
|
} |
| 931 |
|
|
| 932 |
|
if (\is_array($ocVersion)) { |
| 933 |
|
$ocVersion = \implode('.', $ocVersion); |