summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-24 15:44:13 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-24 15:44:13 +0200
commitc0648f28310d524d85c956e1e99bc84cea7d8d4c (patch)
tree32536a1ad5e087c8b3035c436ef6d46224609c4b /appinfo/app.php
parente783212262e57c7cc5f9282dc79a59c1f0a360f3 (diff)
simplify is compatible check
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) {