From c0648f28310d524d85c956e1e99bc84cea7d8d4c Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 24 Sep 2014 15:44:13 +0200 Subject: simplify is compatible check --- appinfo/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appinfo/app.php') 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) { -- cgit v1.2.3