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 --- README.md | 6 ++++++ appinfo/setup.php | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 975f884f5..37f040db1 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,12 @@ You can remove the line after a page reload * Go to the ownCloud apps page * Activate the **News** app in the apps menu +* If the app fails to install, add + + "appcodechecker" => false, + + to your **config/config.php** + * [Set up ownCloud Background Jobs](http://doc.owncloud.org/server/7.0/admin_manual/configuration/background_jobs.html) to enable feed updates. A recommended timespan for feed updates is 15-30 Minutes. The **News** App can be updated through the ownCloud apps page. 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