summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/app.php')
-rw-r--r--appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 98c033124..b4e7202dd 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -18,7 +18,7 @@ use \OCA\News\Config\DependencyException;
require_once __DIR__ . '/setup.php';
-if (is_setup()) {
+if (is_compatible()) {
// Turn all errors into exceptions to combat shitty library behavior
set_error_handler(function ($code, $message) {
if ($code === E_ERROR || $code === E_USER_ERROR) {