Next wave of lesser getMessage() usage and more EL
[mailer.git] / inc / modules / admin / what-config_secure.php
index f1406788423d863336fd61bdb7e7cfc6afaf9602..3cd889890c443bd92d1a9451d60eeee6a940d73a 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 10/11/2003 *
- * ===============                              Last change: 12/21/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 10/11/2003 *
+ * ===================                          Last change: 12/21/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-config_secure.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 *
@@ -46,15 +47,15 @@ addMenuDescription('admin', __FILE__);
 
 if (isFormSent()) {
        // If salt length is empty or null then we shall generate new passwords
-       if (!isPostRequestElementSet(('salt_length')) || (postRequestElement('salt_length') == '0')) {
+       if (!isPostRequestParameterSet(('salt_length')) || (postRequestParameter('salt_length') == '0')) {
                // Generate new passwords for all!
                loadInclude('inc/gen_sql_patches.php');
 
                // Forget the wrong number!
-               unsetPostRequestElement(('salt_length'));
+               unsetPostRequestParameter(('salt_length'));
 
                // Redirect to logout link
-               redirectToUrl('modules.php?module=admin&logout=1');
+               redirectToUrl('modules.php?module=admin&amp;logout=1');
        } // END - if
 
        // Save settings