Skip to content
Snippets Groups Projects
Unverified Commit 21a720e0 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Removed deprecated search function from ISearch

parent 1faef0c4
No related branches found
No related tags found
No related merge requests found
...@@ -37,17 +37,6 @@ class Search implements ISearch { ...@@ -37,17 +37,6 @@ class Search implements ISearch {
private $providers = array(); private $providers = array();
private $registeredProviders = array(); private $registeredProviders = array();
/**
* 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 * Search all providers for $query
* @param string $query * @param string $query
......
...@@ -33,16 +33,6 @@ namespace OCP; ...@@ -33,16 +33,6 @@ namespace OCP;
*/ */
interface ISearch { 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 * Search all providers for $query
* @param string $query * @param string $query
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment