diff options
Diffstat (limited to 'search/ajax/search.php')
-rw-r--r-- | search/ajax/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/search/ajax/search.php b/search/ajax/search.php index 0cc1f9d30cd..546fccc644f 100644 --- a/search/ajax/search.php +++ b/search/ajax/search.php @@ -26,7 +26,7 @@ OC_JSON::checkLoggedIn(); $query=(isset($_GET['query']))?$_GET['query']:''; if($query) { - $result=OC_Search::search($query); + $result = \OC::$server->getSearch()->search($query); OC_JSON::encodedPrint($result); } else { |