Login procedure rewritten to filters (internal TODO)
[mailer.git] / inc / modules / member / what-logout.php
index 4108e31a46c7cf65c7bd1fcb0aa7233a2d25c154..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                                  *
@@ -48,7 +48,7 @@ $URL = 'modules.php?module=index&amp;code=';
 
 if (destroyMemberSession()) {
        // Remove theme cookie as well
-       setTheme('');
+       if (isExtensionActive('theme')) setTheme('');
 
        // Logout completed
        $URL .= getCode('LOGOUT_DONE');