diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-08 22:57:09 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-08 22:57:18 +0200 |
commit | 5bcfc4e800c88508a915b1d6545d15449136dc0b (patch) | |
tree | 57a3e0a27d3521951cae25b2fab8e16fcc467286 /config | |
parent | c1a2867928cc483c81c467716a093d595fede5a7 (diff) |
remove redundant owncloud version check
Diffstat (limited to 'config')
-rw-r--r-- | config/appconfig.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/config/appconfig.php b/config/appconfig.php index 5292d35a7..ae8f268f5 100644 --- a/config/appconfig.php +++ b/config/appconfig.php @@ -175,17 +175,12 @@ class AppConfig { $deps = $this->config['dependencies']; - if(array_key_exists('php', $deps)) { + if (array_key_exists('php', $deps)) { $msg .= $this->requireVersion($this->phpVersion, $deps['php'], 'PHP'); } - if(array_key_exists('owncloud', $deps)) { - $msg .= $this->requireVersion($this->ownCloudVersion, - $deps['owncloud'], 'ownCloud'); - } - - if(array_key_exists('libs', $deps)) { + if (array_key_exists('libs', $deps)) { foreach ($deps['libs'] as $lib => $versions) { if(array_key_exists($lib, $this->installedExtensions)) { $msg .= $this->requireVersion($this->installedExtensions[$lib], |