<?php
/************************************************************************
- * MXChange v0.2.1 Start: 01/13/2006 *
- * =============== Last change: 01/13/2006 *
+ * Mailer v0.2.1-FINAL Start: 01/13/2006 *
+ * =================== Last change: 01/13/2006 *
* *
* -------------------------------------------------------------------- *
* File : action-logout.php *
* $Date:: $ *
* $Tag:: 0.2.1-FINAL $ *
* $Author:: $ *
- * Needs to be in all Files and every File needs "svn propset *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Add description as navigation point
addMenuDescription('admin', __FILE__);
-if (isPostRequestElementSet('no')) {
+if (isPostRequestParameterSet('no')) {
// Do not logout now
redirectToUrl('admin.php');
-} elseif ((isPostRequestElementSet(('yes'))) && (getAction() == 'logout')) {
+} elseif ((isPostRequestParameterSet('yes')) && (getAction() == 'logout')) {
// Redirect to logout link
redirectToUrl('modules.php?module=admin&logout=1');
}