Skip to content

Commit 21a720e

Browse files
committed
Removed deprecated search function from ISearch
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
1 parent 1faef0c commit 21a720e

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

lib/private/Search.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,6 @@ class Search implements ISearch {
3737
private $providers = array();
3838
private $registeredProviders = array();
3939

40-
/**
41-
* Search all providers for $query
42-
* @param string $query
43-
* @param string[] $inApps optionally limit results to the given apps
44-
* @return array An array of OC\Search\Result's
45-
*/
46-
public function search($query, array $inApps = array()) {
47-
// old apps might assume they get all results, so we set size 0
48-
return $this->searchPaged($query, $inApps, 1, 0);
49-
}
50-
5140
/**
5241
* Search all providers for $query
5342
* @param string $query

lib/public/ISearch.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,6 @@
3333
*/
3434
interface ISearch {
3535

36-
/**
37-
* Search all providers for $query
38-
* @param string $query
39-
* @param string[] $inApps optionally limit results to the given apps
40-
* @return array An array of OCP\Search\Result's
41-
* @deprecated 8.0.0 use searchPaged() with page and size
42-
* @since 7.0.0 - parameter $inApps was added in 8.0.0
43-
*/
44-
public function search($query, array $inApps = array());
45-
4636
/**
4737
* Search all providers for $query
4838
* @param string $query

0 commit comments

Comments
 (0)