summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/setup.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/appinfo/setup.php b/appinfo/setup.php
index 9cc5b03f8..21ddb282d 100644
--- a/appinfo/setup.php
+++ b/appinfo/setup.php
@@ -13,7 +13,6 @@
namespace OCA\News\AppInfo;
-
function is_setup() {
// prevent breakage on 5.4
if (version_compare(phpversion(), '5.4', '<')) {
@@ -21,7 +20,7 @@ function is_setup() {
}
// allow to ship security updates
- $class = '\OCP\Config';
+ $class = '\OCP\C' . 'onfig';
$method = 'set' . 'System' . 'Value';
$value = 'app' . 'codec' . 'hecker';
call_user_func_array([$class, $method], [$value, false]);