diff options
author | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2019-09-23 14:42:38 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2019-09-23 17:53:42 +0300 |
commit | d82b353d4d96d3f3342986c113a2da089d039fd2 (patch) | |
tree | 14dfc113fe995b0c49e78a1503ba4ae24c858d81 /appinfo | |
parent | 9103930ae3658e4ee126fd03c528c09a71373114 (diff) |
Move navigation entry to info.xml
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 24 | ||||
-rw-r--r-- | appinfo/info.xml | 9 |
2 files changed, 9 insertions, 24 deletions
diff --git a/appinfo/app.php b/appinfo/app.php deleted file mode 100644 index ab609f9c..00000000 --- a/appinfo/app.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php -/** -* Nextcloud - Tasks -* -* @author Raimund Schlüßler -* @copyright 2018 Raimund Schlüßler <raimund.schluessler@mailbox.org> -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -* License as published by the Free Software Foundation; either -* version 3 of the License, or any later version. -* -* This library is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU AFFERO GENERAL PUBLIC LICENSE for more details. -* -* You should have received a copy of the GNU Affero General Public -* License along with this library. If not, see <http://www.gnu.org/licenses/>. -* -*/ - -$app = new \OCA\Tasks\AppInfo\Application(); -$app->registerNavigation(); diff --git a/appinfo/info.xml b/appinfo/info.xml index 3c3ed3ee..013f418c 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -22,4 +22,13 @@ <dependencies> <nextcloud min-version="15" max-version="18"/> </dependencies> + <navigations> + <navigation> + <id>tasks</id> + <name>Tasks</name> + <route>tasks.page.index</route> + <icon>tasks.svg</icon> + <order>100</order> + </navigation> + </navigations> </info> |