Login procedure rewritten to filters (internal TODO)
[mailer.git] / inc / modules / member / what-logout.php
index ff32b7155d2eb76102e9b9efcaefa7fe26b536a6..b29aa2d1a8a345bdbfbbc4c8b3cbde2a6bd30cfc 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 10/16/2003 *
- * ===============                              Last change: 04/03/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 10/16/2003 *
+ * ===================                          Last change: 04/03/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-logout.php                                  *
@@ -46,9 +46,9 @@ if (!defined('__SECURITY')) {
 // Base URL for redirection (both cases)
 $URL = 'modules.php?module=index&amp;code=';
 
-if (destroyUserSession()) {
+if (destroyMemberSession()) {
        // Remove theme cookie as well
-       setTheme();
+       if (isExtensionActive('theme')) setTheme('');
 
        // Logout completed
        $URL .= getCode('LOGOUT_DONE');