]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-logout.php
Removed already no longer used last parameter from addMaxReceiveList(), so more EL...
[mailer.git] / inc / modules / member / what-logout.php
index 5d7612c970ee599b4d2e464c36b88c8fd9ba1d24..7bc1b6cd85b970ba8a84e6443556ed0170467b20 100644 (file)
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
+ * @TODO Rewrite the code to a filter                                   *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -39,7 +38,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       die();
+       exit();
 } elseif (!isMember()) {
        redirectToIndexMemberOnlyModule();
 }
@@ -49,7 +48,9 @@ $url = 'modules.php?module=index&code=';
 
 if (destroyMemberSession()) {
        // Remove theme cookie as well
-       if (isExtensionActive('theme')) setTheme('');
+       if (isExtensionActive('theme')) {
+               setMailerTheme('');
+       } // END - if
 
        // Logout completed
        $url .= getCode('LOGOUT_DONE');