diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-24 15:44:13 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-24 15:44:13 +0200 |
commit | c0648f28310d524d85c956e1e99bc84cea7d8d4c (patch) | |
tree | 32536a1ad5e087c8b3035c436ef6d46224609c4b /appinfo/setup.php | |
parent | e783212262e57c7cc5f9282dc79a59c1f0a360f3 (diff) |
simplify is compatible check
Diffstat (limited to 'appinfo/setup.php')
-rw-r--r-- | appinfo/setup.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/appinfo/setup.php b/appinfo/setup.php index d56b66971..0fefdfe63 100644 --- a/appinfo/setup.php +++ b/appinfo/setup.php @@ -13,17 +13,11 @@ namespace OCA\News\AppInfo; -function is_setup() { +function is_compatible() { // prevent breakage on 5.4 if (version_compare(phpversion(), '5.4', '<')) { return false; } - // disable useless codechecker in case security updates are shipped but - // blocked because of a bug in the checker - if (\OCP\Config::getSystemValue('appcodechecker') !== false) { - \OCP\Config::setSystemValue('appcodechecker', false); - } - return true; } |