Reverted of changes in 1704, see ticket #160
[mailer.git] / inc / session-functions.php
index 18ed9d0661030917ccd72b7da05a747530b02244..8f1669f5a35cea9e09a2c1c2ceddf5d233ef1b4a 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 02/28/2009 *
- * ===============                              Last change: 02/28/2009 *
+ * Mailer v0.2.1-FINAL                                Start: 02/28/2009 *
+ * ===================                          Last change: 02/28/2009 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : session-functions.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 *
@@ -90,6 +91,7 @@ function getSession ($var) {
        } // END - if
 
        // Return the value
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, $var . '=' . $value);
        return $value;
 }
 
@@ -108,7 +110,6 @@ function destroyAdminSession ($destroy = true) {
        setSession('admin_login', '');
        setSession('admin_md5'  , '');
        setSession('admin_last' , '');
-       setSession('admin_to'   , '');
 
        // Destroy session and return status
        if ($destroy) {