Renamed System::redirect() to $a->redirect()
This commit is contained in:
parent
c46caeb0d3
commit
2ef81108b3
62 changed files with 269 additions and 253 deletions
|
@ -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.'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue