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

github.com/nextcloud/fulltextsearch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php6
-rw-r--r--appinfo/routes.php4
2 files changed, 9 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 74de16e..20c5b72 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -1,4 +1,7 @@
<?php
+declare(strict_types=1);
+
+
/**
* FullTextSearch - Full text search framework for Nextcloud
*
@@ -24,8 +27,10 @@
*
*/
+
namespace OCA\FullTextSearch\AppInfo;
+
use OCP\AppFramework\QueryException;
@@ -33,7 +38,6 @@ try {
$app = new Application();
$app->registerServices();
$app->registerNavigation();
- $app->registerSettingsAdmin();
} catch (QueryException $e) {
/** we do nothing */
}
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 9736b22..967ac82 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -1,4 +1,7 @@
<?php
+declare(strict_types=1);
+
+
/**
* FullTextSearch - Full text search framework for Nextcloud
*
@@ -24,6 +27,7 @@
*
*/
+
return [
'routes' => [
['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'],