X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-del_user.php;h=874dc11c6e281ec1dec5de208197141f497ac446;hp=092bd1f4b92db0126681d4347a9691e9829605f4;hb=30ae22f62ae87c53a56baf0d134569ba91011111;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60 diff --git a/inc/modules/admin/what-del_user.php b/inc/modules/admin/what-del_user.php index 092bd1f4b9..874dc11c6e 100644 --- a/inc/modules/admin/what-del_user.php +++ b/inc/modules/admin/what-del_user.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -45,42 +46,38 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { addMenuDescription('admin', __FILE__); // User exists.. -if ((isFormSent()) || ((isPostRequestElementSet('del')) && (isPostRequestElementSet(('reason'))))) { +if ((isFormSent()) || ((isFormSent('del')) && (isPostRequestParameterSet(('reason'))))) { // Is the account there? - if (fetchUserData(getRequestElement('userid'))) { + if (fetchUserData(getRequestParameter('userid'))) { // Delete user account - deleteUserAccount(getRequestElement('userid'), postRequestElement('reason')); + deleteUserAccount(getRequestParameter('userid'), postRequestParameter('reason')); // Output message - loadTemplate('admin_settings_saved', false, getMessage('ADMIN_DEL_COMPLETED')); + loadTemplate('admin_settings_saved', false, '{--ADMIN_DEL_COMPLETED--}'); } else { // Account does not exists! - loadTemplate('admin_settings_saved', false, "