hopefully fix #919

This commit is contained in:
Mario Vavti 2015-03-07 15:56:28 +01:00
parent 53e908d7b7
commit 9cd7546be5
2 changed files with 0 additions and 4 deletions

View File

@ -9,7 +9,6 @@ function removeaccount_post(&$a) {
return;
if((! x($_POST,'qxz_password')) || (! strlen(trim($_POST['qxz_password']))))
notice( t('Password not correct.') . EOL);
return;
if((! x($_POST,'verify')) || (! strlen(trim($_POST['verify']))))
@ -23,7 +22,6 @@ function removeaccount_post(&$a) {
$account_id = get_account_id();
if(! account_verify_password($account['account_email'],$_POST['qxz_password']))
notice( t('Password not correct.') . EOL);
return;
if($account['account_password_changed'] != NULL_DATE) {

View File

@ -9,7 +9,6 @@ function removeme_post(&$a) {
return;
if((! x($_POST,'qxz_password')) || (! strlen(trim($_POST['qxz_password']))))
notice( t('Password not correct.') . EOL);
return;
if((! x($_POST,'verify')) || (! strlen(trim($_POST['verify']))))
@ -22,7 +21,6 @@ function removeme_post(&$a) {
$account = $a->get_account();
if(! account_verify_password($account['account_email'],$_POST['qxz_password']))
notice( t('Password not correct.') . EOL);
return;
if($account['account_password_changed'] != NULL_DATE) {