Extension ext-coupon continued, a lot improvements applied:
[mailer.git] / inc / modules / member / what-logout.php
index 9f98cf504767c8013622c9d2c045d6335f12b262..88abed7a7a62a4995131fbe7f2793d68596e0f93 100644 (file)
@@ -14,6 +14,7 @@
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
+ * @TODO Rewrite the code to a filter                                   *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
@@ -47,7 +48,9 @@ $url = 'modules.php?module=index&code=';
 
 if (destroyMemberSession()) {
        // Remove theme cookie as well
-       if (isExtensionActive('theme')) setTheme('');
+       if (isExtensionActive('theme')) {
+               setTheme('');
+       } // END - if
 
        // Logout completed
        $url .= getCode('LOGOUT_DONE');