aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-01-13 19:27:25 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-01-13 19:27:25 +0100
commit21a720e026368c5d1c1c55e89cd5630428a6eeb5 (patch)
tree34851b2d633fb5dad15a47f7f56ec1534388ff3b /lib
parent1faef0c459a51a025f73f7eee46e5607ee6eedf5 (diff)
downloadnextcloud-server-21a720e026368c5d1c1c55e89cd5630428a6eeb5.tar.gz
nextcloud-server-21a720e026368c5d1c1c55e89cd5630428a6eeb5.zip
Removed deprecated search function from ISearch
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Search.php11
-rw-r--r--lib/public/ISearch.php10
2 files changed, 0 insertions, 21 deletions
diff --git a/lib/private/Search.php b/lib/private/Search.php
index 17958c8e08e..0cfdf24ac97 100644
--- a/lib/private/Search.php
+++ b/lib/private/Search.php
@@ -41,17 +41,6 @@ class Search implements ISearch {
* Search all providers for $query
* @param string $query
* @param string[] $inApps optionally limit results to the given apps
- * @return array An array of OC\Search\Result's
- */
- public function search($query, array $inApps = array()) {
- // old apps might assume they get all results, so we set size 0
- return $this->searchPaged($query, $inApps, 1, 0);
- }
-
- /**
- * Search all providers for $query
- * @param string $query
- * @param string[] $inApps optionally limit results to the given apps
* @param int $page pages start at page 1
* @param int $size, 0 = all
* @return array An array of OC\Search\Result's
diff --git a/lib/public/ISearch.php b/lib/public/ISearch.php
index 93dc3b9c1f2..001c847a9e3 100644
--- a/lib/public/ISearch.php
+++ b/lib/public/ISearch.php
@@ -37,16 +37,6 @@ interface ISearch {
* Search all providers for $query
* @param string $query
* @param string[] $inApps optionally limit results to the given apps
- * @return array An array of OCP\Search\Result's
- * @deprecated 8.0.0 use searchPaged() with page and size
- * @since 7.0.0 - parameter $inApps was added in 8.0.0
- */
- public function search($query, array $inApps = array());
-
- /**
- * Search all providers for $query
- * @param string $query
- * @param string[] $inApps optionally limit results to the given apps
* @param int $page pages start at page 1
* @param int $size
* @return array An array of OCP\Search\Result's