]> git.mxchange.org Git - friendica.git/blobdiff - mod/removeme.php
sql optimisation cont.
[friendica.git] / mod / removeme.php
index 62b9a6d13aa561491ca8af6d9f7cfcdfcf6ae84e..c181ee6ea1091aad140cc0d2c498db6e02c1cbdf 100644 (file)
@@ -29,13 +29,13 @@ function removeme_post(&$a) {
 function removeme_content(&$a) {
 
        if(! local_user())
-               goaway($a->get_baseurl());
+               goaway(z_root());
 
        $hash = random_string();
 
        $_SESSION['remove_account_verify'] = $hash;
 
-       $tpl = load_view_file('view/removeme.tpl');
+       $tpl = get_markup_template('removeme.tpl');
        $o .= replace_macros($tpl, array(
                '$basedir' => $a->get_baseurl(),
                '$hash' => $hash,