Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-08-17 18:12:34 +0300
committerJulius Härtl <jus@bitgrid.net>2020-09-01 12:02:24 +0300
commit1e54d77f7aa357ecb561d24426ec7912fc2f3e3c (patch)
treee50df60d930943ab817bb32bd50f6314441ab369 /appinfo
parentd432a071a8cb86bcb08ad990329b7734e41791e1 (diff)
Move to IBootstrap
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php39
-rw-r--r--appinfo/info.xml9
2 files changed, 9 insertions, 39 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
deleted file mode 100644
index bf0ac6c9..00000000
--- a/appinfo/app.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/**
- * @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
- *
- * @author Julius Härtl <jus@bitgrid.net>
- *
- * @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\Deck\AppInfo\Application;
-use OCP\AppFramework\QueryException;
-
-if ((@include_once __DIR__ . '/../vendor/autoload.php')=== false) {
- throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
-}
-
-try {
- /** @var Application $app */
- $app = \OC::$server->query(Application::class);
- $app->register();
-} catch (QueryException $e) {
-}
-
-/** Load activity style global so it is availabile in the activity app as well */
-\OC_Util::addStyle('deck', 'activity');
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 34c1ed4e..95fd78a9 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -69,4 +69,13 @@
<provider min-version="16">OCA\Deck\Provider\DeckProvider</provider>
</fulltextsearch>
+ <navigations>
+ <navigation>
+ <name>Deck</name>
+ <route>deck.page.index</route>
+ <icon>deck.svg</icon>
+ <order>10</order>
+ </navigation>
+ </navigations>
+
</info>