X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fsponsor%2Flogout.php;h=dc656b70187df47cf3769e034fa0de3a93f01aae;hb=8202991f32bfb2056e94a11746c0b5308fe4a273;hp=cc3745ce1e1404d09d881e54de9460d6fee7b646;hpb=6b13c5c64eebedd56683c78d799879e0dc618b21;p=mailer.git diff --git a/inc/modules/sponsor/logout.php b/inc/modules/sponsor/logout.php index cc3745ce1e..dc656b7018 100644 --- a/inc/modules/sponsor/logout.php +++ b/inc/modules/sponsor/logout.php @@ -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 {