]> git.mxchange.org Git - friendica.git/blobdiff - mod/search.php
Merge pull request #3121 from annando/1701-bugfix-config
[friendica.git] / mod / search.php
index 22879f7f9e6aea569db9d61fe493ca1b7c864bf6..df604e367c7724a46118dec997da42e1183b5fce 100644 (file)
@@ -43,7 +43,7 @@ function search_saved_searches() {
 }
 
 
-function search_init(App &$a) {
+function search_init(App $a) {
 
        $search = ((x($_GET,'search')) ? notags(trim(rawurldecode($_GET['search']))) : '');
 
@@ -81,13 +81,13 @@ function search_init(App &$a) {
 
 
 
-function search_post(App &$a) {
+function search_post(App $a) {
        if(x($_POST,'search'))
                $a->data['search'] = $_POST['search'];
 }
 
 
-function search_content(App &$a) {
+function search_content(App $a) {
 
        if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
                notice( t('Public access denied.') . EOL);