]> git.mxchange.org Git - friendica.git/blobdiff - mod/fetch.php
Create L10n class
[friendica.git] / mod / fetch.php
index c097ee4c46f02418e1a3be5409d7b6df911dc73e..040ef81c84b89c84a091d88ffdcbc4c27d26c32f 100644 (file)
@@ -11,7 +11,7 @@ use Friendica\Util\XML;
 function fetch_init(App $a)
 {
 
-       if (($a->argc != 3) || (!in_array($a->argv[1], array("post", "status_message", "reshare")))) {
+       if (($a->argc != 3) || (!in_array($a->argv[1], ["post", "status_message", "reshare"]))) {
                header($_SERVER["SERVER_PROTOCOL"].' 404 '.t('Not Found'));
                killme();
        }