]> git.mxchange.org Git - friendica.git/blobdiff - mod/filer.php
Merge pull request #3253 from friendica/revert-3112-rewrites/coding-convention
[friendica.git] / mod / filer.php
index 02b8d68978f44897ae0b0d4716fec28a6f99a521..47c4aa5e4cbc6fc05139174415d2f5485a97f7fb 100644 (file)
@@ -4,10 +4,10 @@ require_once('include/security.php');
 require_once('include/bbcode.php');
 require_once('include/items.php');
 
-if(! function_exists('filer_content')) {
-function filer_content(&$a) {
 
-       if(! local_user()) {
+function filer_content(App $a) {
+
+       if (! local_user()) {
                killme();
        }
 
@@ -35,4 +35,3 @@ function filer_content(&$a) {
        }
        killme();
 }
-}