<?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 *
// Base URL for redirection (both cases)
$URL = 'modules.php?module=index&code=';
-if (destroyUserSession()) {
+if (destroyMemberSession()) {
// Remove theme cookie as well
- setTheme('');
+ if (isExtensionActive('theme')) setTheme('');
// Logout completed
$URL .= getCode('LOGOUT_DONE');