diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-13 19:27:25 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-13 19:27:25 +0100 |
commit | 21a720e026368c5d1c1c55e89cd5630428a6eeb5 (patch) | |
tree | 34851b2d633fb5dad15a47f7f56ec1534388ff3b /lib/private/Search.php | |
parent | 1faef0c459a51a025f73f7eee46e5607ee6eedf5 (diff) | |
download | nextcloud-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/private/Search.php')
-rw-r--r-- | lib/private/Search.php | 11 |
1 files changed, 0 insertions, 11 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 |