|
|
@ -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; |
|
|
|
|
|
|
|
} |
|
|
|
} |