summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-18 10:23:57 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-18 10:23:57 +0200
commit295f2ff74e3762ea3defc3ecfc4d102c1657d63f (patch)
treee38afec8c3406abb70def95e7db425b7da0815c7
parent4fe70c8f1bd032183990de37d19cdd9faafba0da (diff)
setup instructions update
-rw-r--r--README.md6
-rw-r--r--appinfo/setup.php10
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;
}