diff --git a/logout.php b/logout.php index 7887fa30c4..a6723d8dc9 100755 --- a/logout.php +++ b/logout.php @@ -42,15 +42,19 @@ rmdir($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid']); } $GLOBALS['phpgw']->common->hook('logout'); - $GLOBALS['phpgw']->session->destroy(); + $GLOBALS['phpgw']->session->destroy($GLOBALS['sessionid'],$GLOBALS['kp3']); } else { - $GLOBALS['phpgw']->log->write(array('text'=>'W-VerifySession, could not verify session during logout')); + $GLOBALS['phpgw']->log->write(array( + 'text' => 'W-VerifySession, could not verify session during logout', + 'line' => __LINE__, + 'file' => __FILE__ + )); } Setcookie('sessionid'); Setcookie('kp3'); Setcookie('domain'); $GLOBALS['phpgw']->redirect($GLOBALS['phpgw_info']['server']['webserver_url'].'/login.php?cd=1'); -?> +?> \ No newline at end of file