App::get_baseurl is now replaced with System::baseUrl
This commit is contained in:
parent
3c24bed412
commit
5adfeb0bd5
134 changed files with 603 additions and 624 deletions
|
@ -38,7 +38,7 @@ function removeme_post(App $a) {
|
|||
function removeme_content(App $a) {
|
||||
|
||||
if (! local_user()) {
|
||||
goaway(z_root());
|
||||
goaway(System::baseUrl());
|
||||
}
|
||||
|
||||
$hash = random_string();
|
||||
|
@ -50,7 +50,7 @@ function removeme_content(App $a) {
|
|||
|
||||
$tpl = get_markup_template('removeme.tpl');
|
||||
$o .= replace_macros($tpl, array(
|
||||
'$basedir' => App::get_baseurl(),
|
||||
'$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.'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue