diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-10-31 12:33:02 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-10-31 12:33:02 +0300 |
commit | 2fc15a8ea64385ecc2edbc74ba5ea618f1e203b2 (patch) | |
tree | 64e106a06373d6e84a4d089a5e77e884fd713768 /appinfo | |
parent | 41bbf7c16c715de4aca54b413ccbfe1d526e73b4 (diff) |
migrating to php7
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 6 | ||||
-rw-r--r-- | appinfo/routes.php | 4 |
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'], |