]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagrm.php
Many t() calls
[friendica.git] / mod / tagrm.php
index cf76f621b0760a086f2d6112c55c68fb9173c83f..9c0a8094f1465f217406a48dc27a14c4c4bc35aa 100644 (file)
@@ -1,10 +1,13 @@
 <?php
-
+/**
+ * @file mod/tagrm.php
+ */
 use Friendica\App;
+use Friendica\Core\L10n;
 use Friendica\Core\System;
 use Friendica\Database\DBM;
 
-require_once('include/bbcode.php');
+require_once 'include/bbcode.php';
 
 function tagrm_post(App $a) {
 
@@ -44,7 +47,7 @@ function tagrm_post(App $a) {
                intval(local_user())
        );
 
-       info( t('Tag removed') . EOL );
+       info(L10n::t('Tag removed') . EOL );
        goaway(System::baseUrl() . '/' . $_SESSION['photo_return']);
 
        // NOTREACHED