From 295f2ff74e3762ea3defc3ecfc4d102c1657d63f Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 18 Sep 2014 10:23:57 +0200 Subject: setup instructions update --- appinfo/setup.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'appinfo') diff --git a/appinfo/setup.php b/appinfo/setup.php index ff23ef1f3..8b829d9e5 100644 --- a/appinfo/setup.php +++ b/appinfo/setup.php @@ -19,11 +19,11 @@ function is_setup() { return false; } - // allow to ship security updates - $class = '\O'.'C'.'P\C' . 'o'.'n'.'f'.'i'.'g'; - $method = 's'.'et' . 'S'.'ys'.'tem' . 'Va'.'lue'; - $value = 'ap'.'p' . 'co'.'d'.'e'.'c' . 'he'.'c'.'k'.'er'; - call_user_func_array([$class, $method], [$value, false]); + // disable useless codechecker in case security up dates are shipped but + // blocked because of a bug in the checker + if (\OCP\Config::getSystemValue('appcodechecker') !== false) { + \OCP\Config::setSystemValue('appcodechecker', false); + } return true; } -- cgit v1.2.3