summaryrefslogtreecommitdiffstats
path: root/appinfo/routes.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/routes.php
parente783212262e57c7cc5f9282dc79a59c1f0a360f3 (diff)
simplify is compatible check
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php2
1 files changed, 1 insertions, 1 deletions
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