]> git.mxchange.org Git - friendica.git/blobdiff - mod/removeme.php
Renamed System::redirect() to $a->redirect()
[friendica.git] / mod / removeme.php
index b386ec12f5ccabd09280900a32fc0a3b1139c7d1..a53bc3ecebecb19bde1715914aef4a85501012ba 100644 (file)
@@ -64,7 +64,7 @@ function removeme_post(App $a)
 function removeme_content(App $a)
 {
        if (!local_user()) {
-               goaway(System::baseUrl());
+               $a->redirect();
        }
 
        $hash = random_string();
@@ -76,7 +76,7 @@ function removeme_content(App $a)
 
        $tpl = get_markup_template('removeme.tpl');
        $o = replace_macros($tpl, [
-               '$basedir' => System::baseUrl(),
+               '$basedir' => $a->getBaseURL(),
                '$hash' => $hash,
                '$title' => L10n::t('Remove My Account'),
                '$desc' => L10n::t('This will completely remove your account. Once this has been done it is not recoverable.'),