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:
authorMaxence Lange <maxence@artificial-owl.com>2018-10-31 13:33:37 +0300
committerMaxence Lange <maxence@artificial-owl.com>2018-10-31 13:33:37 +0300
commit92247813c1a4baac292730e22d2a88b4bd281c6f (patch)
tree07b27d9d6d93adff8a7c60ad218a170cd996ed28 /templates
parent8c74cc866d5f48ecff844afb41715560ce7fd568 (diff)
compat NC15
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/navigate.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/templates/navigate.php b/templates/navigate.php
index e8eac1d..2cc216c 100644
--- a/templates/navigate.php
+++ b/templates/navigate.php
@@ -29,16 +29,8 @@ declare(strict_types=1);
use OCA\FullTextSearch\AppInfo\Application;
-use OCP\FullTextSearch\IFullTextSearchManager;
use OCP\Util;
-
-if (isset($_) && is_array($_) && array_key_exists('fullTextSearchManager', $_)) {
- /** @var IFullTextSearchManager $fullTextSearchManager */
- $fullTextSearchManager = $_['fullTextSearchManager'];
- $fullTextSearchManager->addJavascriptAPI();
-}
-
Util::addScript(Application::APP_NAME, 'navigate');
Util::addStyle(Application::APP_NAME, 'navigate');