diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-07 14:55:23 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-07 15:03:55 +0100 |
commit | 83855c073bda187084ad644541f5c46465f16b8e (patch) | |
tree | d826c3994c907469613493ab6209217246afe01c /settings/controller | |
parent | 336fe868b2ee3a4105b93b71a1e739c9e412237b (diff) | |
download | nextcloud-server-83855c073bda187084ad644541f5c46465f16b8e.tar.gz nextcloud-server-83855c073bda187084ad644541f5c46465f16b8e.zip |
Add a warning on the apps list when the version is missing
Diffstat (limited to 'settings/controller')
-rw-r--r-- | settings/controller/appsettingscontroller.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/controller/appsettingscontroller.php b/settings/controller/appsettingscontroller.php index 765fe2d2850..79b7589027b 100644 --- a/settings/controller/appsettingscontroller.php +++ b/settings/controller/appsettingscontroller.php @@ -296,6 +296,9 @@ class AppSettingsController extends Controller { $app['canInstall'] = empty($missing); $app['missingDependencies'] = $missing; + $app['missingMinOwnCloudVersion'] = !isset($app['dependencies']['owncloud']['@attributes']['min-version']); + $app['missingMaxOwnCloudVersion'] = !isset($app['dependencies']['owncloud']['@attributes']['max-version']); + return $app; }, $apps); |