summaryrefslogtreecommitdiffstats
path: root/controller
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-27 16:06:48 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-27 16:06:48 +0100
commit7c34fee7ebc09ffaaf14019ae195b1b42e138e3f (patch)
tree195cc103db5c91968cce98d104d63279ab0edebc /controller
parent4cd84306ff1bb897bdec9c6a0deb3aee924bc51f (diff)
use extended info.xml instead of app.json
Diffstat (limited to 'controller')
-rw-r--r--controller/pagecontroller.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/controller/pagecontroller.php b/controller/pagecontroller.php
index 6599a4e49..861fa285f 100644
--- a/controller/pagecontroller.php
+++ b/controller/pagecontroller.php
@@ -155,10 +155,6 @@ class PageController extends Controller {
}
}
- $authors = [];
- foreach ($config['authors'] as $author) {
- $authors[] = $author['name'];
- }
$data = [
"name" => $config['name'],
@@ -166,10 +162,10 @@ class PageController extends Controller {
"default_locale" => $locale,
"description" => $config['description'],
"launch_path" => $this->urlGenerator->linkToRoute(
- $config['id'] . '.page.index'),
+ $config['navigation']['route']),
"icons" => $icons,
"developer" => [
- "name" => implode(', ', $authors),
+ "name" => $config['author'],
"url" => $config['homepage']
]
];