]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/sponsor/logout.php
Advertising network 'ADkracher' added
[mailer.git] / inc / modules / sponsor / logout.php
index cc3745ce1e1404d09d881e54de9460d6fee7b646..dc656b70187df47cf3769e034fa0de3a93f01aae 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * For more information visit: http://www.mxchange.org                  *
+ * 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 *
@@ -38,7 +38,7 @@
 if (!defined('__SECURITY')) {
        die();
 } elseif ((!isExtensionActive('sponsor'))) {
-       addFatalMessage(__FILE__, __LINE__, generateExtensionInactiveNotInstalledMessage('sponsor'));
+       addFatalMessage(__FILE__, __LINE__, '{%pipe,generateExtensionInactiveNotInstalledMessage=sponsor%}');
        return;
 } elseif (!isSponsor()) {
        // No sponsor!
@@ -50,9 +50,6 @@ if (!defined('__SECURITY')) {
 $url = 'modules.php?module=index&code=';
 
 if (destroySponsorSession()) {
-       // Remove theme cookie as well
-       if (isExtensionActive('theme')) setTheme('');
-
        // Logout completed
        $url .= getCode('LOGOUT_DONE');
 } else {