]> git.mxchange.org Git - friendica.git/blobdiff - mod/qsearch.php
The first queries are replaced with the new functions. More to come ...
[friendica.git] / mod / qsearch.php
index 118c93d9fa31a3d75d8508237a2f3869beed27e8..ba62fce0d7bddc829c884e117f862ef1bb85dcc1 100644 (file)
@@ -1,6 +1,8 @@
 <?php
 
-function qsearch_init(App &$a) {
+use Friendica\App;
+
+function qsearch_init(App $a) {
 
        if (! local_user()) {
                killme();
@@ -48,4 +50,3 @@ function qsearch_init(App &$a) {
        echo json_encode((object) $results);
        killme();
 }
-