From a6b03b6263ee8f02094b6735d01ff24c35c3323b Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 29 Apr 2014 22:34:48 +0200 Subject: [PATCH] The remove page now has the settings menu. --- mod/removeme.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 +} -- 2.39.5