]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-del_user.php
A lot naming conventions applied, TODOs.txt updated
[mailer.git] / inc / modules / admin / what-del_user.php
index 874dc11c6e281ec1dec5de208197141f497ac446..5439c32177b616ffe26ec1991b4ef5b5c8ce4a12 100644 (file)
@@ -46,14 +46,14 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addMenuDescription('admin', __FILE__);
 
 // User exists..
-if ((isFormSent()) || ((isFormSent('del')) && (isPostRequestParameterSet(('reason'))))) {
+if ((isFormSent()) || ((isFormSent('del')) && (isPostRequestParameterSet('reason')))) {
        // Is the account there?
        if (fetchUserData(getRequestParameter('userid'))) {
                // Delete user account
                deleteUserAccount(getRequestParameter('userid'), postRequestParameter('reason'));
 
                // Output message
-               loadTemplate('admin_settings_saved', false, '{--ADMIN_DEL_COMPLETED--}');
+               loadTemplate('admin_settings_saved', false, '{--ADMIN_DELETE_COMPLETED--}');
        } else {
                // Account does not exists!
                loadTemplate('admin_settings_saved', false, '<div class="admin_failed">' . getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid'))) . '</div>');