]> git.mxchange.org Git - friendica.git/blobdiff - mod/removeme.php
Merge pull request #4440 from rabuzarus/20180211_-_fix_variables_part_two
[friendica.git] / mod / removeme.php
index d49669ae844ba155b707ad012b4d13e6b751b39d..0363bf9f32990ad900d182c2c14bd5719b22eaf9 100644 (file)
@@ -1,6 +1,9 @@
 <?php
-
+/**
+ * @file mod/removeme.php
+ */
 use Friendica\App;
+use Friendica\Core\L10n;
 use Friendica\Core\System;
 use Friendica\Model\User;
 
@@ -46,13 +49,13 @@ function removeme_content(App $a)
        $_SESSION['remove_account_verify'] = $hash;
 
        $tpl = get_markup_template('removeme.tpl');
-       $o .= replace_macros($tpl, [
+       $o = replace_macros($tpl, [
                '$basedir' => System::baseUrl(),
                '$hash' => $hash,
-               '$title' => t('Remove My Account'),
-               '$desc' => t('This will completely remove your account. Once this has been done it is not recoverable.'),
-               '$passwd' => t('Please enter your password for verification:'),
-               '$submit' => t('Remove My Account')
+               '$title' => L10n::t('Remove My Account'),
+               '$desc' => L10n::t('This will completely remove your account. Once this has been done it is not recoverable.'),
+               '$passwd' => L10n::t('Please enter your password for verification:'),
+               '$submit' => L10n::t('Remove My Account')
        ]);
 
        return $o;