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/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appinfo/routes.php') diff --git a/appinfo/routes.php b/appinfo/routes.php index 35ede4265..807803bf7 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -18,7 +18,7 @@ use \OCA\News\AppInfo\Application; require_once __DIR__ . '/setup.php'; -if (is_setup()) { +if (is_compatible()) { $application = new Application(); $application->registerRoutes($this, ['routes' => [ // page -- cgit v1.2.3