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

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRaimund Schlüßler <raimund.schluessler@mailbox.org>2018-01-07 20:13:55 +0300
committerRaimund Schlüßler <raimund.schluessler@mailbox.org>2018-01-07 20:13:55 +0300
commit984c0f64884a68baf4d812e606f5d7027baccd6a (patch)
tree210c7b3b97c8b9e2c2406845b9a947cf9bd93dad /lib
parenta5cb8733ce3531b43a014f77818b625e612db310 (diff)
Remove serverside search
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/searchprovider.php52
1 files changed, 0 insertions, 52 deletions
diff --git a/lib/Controller/searchprovider.php b/lib/Controller/searchprovider.php
deleted file mode 100644
index f28911c4..00000000
--- a/lib/Controller/searchprovider.php
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-/**
- * Nextcloud - Tasks
- *
- * @author Raimund Schlüßler
- * @copyright 2017 Raimund Schlüßler raimund.schluessler@googlemail.com
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or any later version.
- *
- * This library 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 library. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-namespace OCA\Tasks\Controller;
-
-use OCA\Tasks\AppInfo\Application;
-
-/**
- * Tasks search provider
- */
-class SearchProvider extends \OCP\Search\Provider {
-
- // private $tasksService;
-
- public function __construct() {
- $app = new Application();
- $container = $app->getContainer();
- $this->app = $app;
- // $this->tasksService = $container->query('TasksService');
- }
-
-
- /**
- * Search for query in tasks
- *
- * @param string $query
- * @return array
- */
- public function search($query) {
- return array();
- // return $this->tasksService->search($query);
- }
-}