App::get_baseurl is now replaced with System::baseUrl

This commit is contained in:
Michael 2017-08-26 07:32:10 +00:00
commit 5adfeb0bd5
134 changed files with 603 additions and 624 deletions

View file

@ -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.'),