if(! local_user())
return;
+ if(x($_SESSION,'submanage') && intval($_SESSION['submanage']))
+ return;
+
if((! x($_POST,'qxz_password')) || (! strlen(trim($_POST['qxz_password']))))
return;
}
-
-
function removeme_content(&$a) {
if(! local_user())
$hash = random_string();
+ require_once("mod/settings.php");
+ settings_init($a);
+
$_SESSION['remove_account_verify'] = $hash;
$tpl = get_markup_template('removeme.tpl');
'$submit' => t('Remove My Account')
));
- return $o;
+ return $o;
-}
\ No newline at end of file
+}