From 9cd7546be5ad7f24534653f310c15362c3f2baa6 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 7 Mar 2015 15:56:28 +0100 Subject: hopefully fix #919 --- mod/removeaccount.php | 2 -- mod/removeme.php | 2 -- 2 files changed, 4 deletions(-) (limited to 'mod') diff --git a/mod/removeaccount.php b/mod/removeaccount.php index 4505bbea0..70979ec15 100644 --- a/mod/removeaccount.php +++ b/mod/removeaccount.php @@ -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) { diff --git a/mod/removeme.php b/mod/removeme.php index 52145d639..ff955775a 100644 --- a/mod/removeme.php +++ b/mod/removeme.php @@ -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) { -- cgit v1.2.3