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 +}