]> git.mxchange.org Git - friendica.git/blobdiff - mod/wall_attach.php
Many t() calls
[friendica.git] / mod / wall_attach.php
index 472a8073247e9a96d7150d50da9e6150a43367a7..6d7a18fe0ae5b9bb3cd47e0044143d8cfb1d5850 100644 (file)
@@ -4,6 +4,7 @@
  */
 use Friendica\App;
 use Friendica\Core\Config;
+use Friendica\Core\L10n;
 use Friendica\Database\DBM;
 use Friendica\Util\Mimetype;
 
@@ -73,7 +74,7 @@ function wall_attach_post(App $a) {
                        echo json_encode(['error'=>t('Permission denied.')]);
                        killme();
                }
-               notice( t('Permission denied.') . EOL );
+               notice(L10n::t('Permission denied.') . EOL );
                killme();
        }