lib/private/legacy/app.php 1 location
|
@@ 991-997 (lines=7) @@
|
| 988 |
|
} |
| 989 |
|
|
| 990 |
|
$version = \OCP\Util::getVersion(); |
| 991 |
|
if (!self::isAppCompatible($version, $info)) { |
| 992 |
|
throw new \Exception( |
| 993 |
|
$l->t('App "%s" cannot be installed because it is not compatible with this version of the server.', |
| 994 |
|
array($info['name']) |
| 995 |
|
) |
| 996 |
|
); |
| 997 |
|
} |
| 998 |
|
|
| 999 |
|
// check for required dependencies |
| 1000 |
|
self::checkAppDependencies($config, $l, $info); |
lib/private/Installer.php 1 location
|
@@ 121-128 (lines=8) @@
|
| 118 |
|
} |
| 119 |
|
|
| 120 |
|
$version = \OCP\Util::getVersion(); |
| 121 |
|
if (!\OC_App::isAppCompatible($version, $info)) { |
| 122 |
|
throw new \Exception( |
| 123 |
|
// TODO $l |
| 124 |
|
$l->t('App "%s" cannot be installed because it is not compatible with this version of the server.', |
| 125 |
|
[$info['name']] |
| 126 |
|
) |
| 127 |
|
); |
| 128 |
|
} |
| 129 |
|
|
| 130 |
|
// check for required dependencies |
| 131 |
|
\OC_App::checkAppDependencies($this->config, $l, $info); |