X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fremoveme.php;h=904606fd57cb77b69a1a0b7ef48a9025ff012f25;hb=39b37281a78b58b50503056e69b2aaa9885257b0;hp=ee88bd76a55212d89521eea7b12e782266b76b2e;hpb=43d5876e8b35d53a0bef5248c5d63e5bc209dbbf;p=friendica.git diff --git a/mod/removeme.php b/mod/removeme.php index ee88bd76a5..904606fd57 100644 --- a/mod/removeme.php +++ b/mod/removeme.php @@ -27,8 +27,6 @@ function removeme_post(&$a) { } - - function removeme_content(&$a) { if(! local_user()) @@ -36,6 +34,9 @@ function removeme_content(&$a) { $hash = random_string(); + require_once("mod/settings.php"); + settings_init($a); + $_SESSION['remove_account_verify'] = $hash; $tpl = get_markup_template('removeme.tpl'); @@ -48,6 +49,6 @@ function removeme_content(&$a) { '$submit' => t('Remove My Account') )); - return $o; + return $o; -} \ No newline at end of file +}