summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php27
-rw-r--r--appinfo/info.xml9
2 files changed, 9 insertions, 27 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
deleted file mode 100644
index f9e8863b..00000000
--- a/appinfo/app.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-/**
- * @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @author John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program 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 program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-use OCA\Contacts\AppInfo\Application;
-
-$app = \OC::$server->query(Application::class);
-$app->register();
diff --git a/appinfo/info.xml b/appinfo/info.xml
index ed623343..a3f7bdce 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -41,4 +41,13 @@
<contactsmenu>
<provider>OCA\Contacts\ContactsMenu\Providers\DetailsProvider</provider>
</contactsmenu>
+
+ <navigations>
+ <navigation>
+ <name>Contacts</name>
+ <route>contacts.page.index</route>
+ <icon>app.svg</icon>
+ <order>4</order>
+ </navigation>
+ </navigations>
</info>