diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-06-06 11:02:05 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-06-06 11:02:05 +0200 |
commit | 2801f0f2228c571a0bfd9de3684f87e0fe408c57 (patch) | |
tree | a2a44fc2c67eaf6268257590212ca323e0856be8 /search | |
parent | 56470fa9b3a03c2737aeb2c29c2cdebfcaa8a99b (diff) | |
download | nextcloud-server-2801f0f2228c571a0bfd9de3684f87e0fe408c57.tar.gz nextcloud-server-2801f0f2228c571a0bfd9de3684f87e0fe408c57.zip |
use non static access to search
Diffstat (limited to 'search')
-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 { |