* API: fixed a reported deprecated warning on logout when using CAS

This commit is contained in:
Klaus Leithoff 2011-12-09 10:55:40 +00:00
parent 332427277d
commit 9ae32b68a0

View File

@ -60,7 +60,7 @@ if($GLOBALS['egw_info']['server']['auth_type'] == 'cas')
$GLOBALS['egw_info']['server']['cas_server_host_name'], $GLOBALS['egw_info']['server']['cas_server_host_name'],
(int) $GLOBALS['egw_info']['server']['cas_server_port'], (int) $GLOBALS['egw_info']['server']['cas_server_port'],
$GLOBALS['egw_info']['server']['cas_server_uri'] ); $GLOBALS['egw_info']['server']['cas_server_uri'] );
phpCAS::logout($GLOBALS['egw_info']['server']['webserver_url'].'/login.php?cd=1&domain='.$GLOBALS['egw_info']['user']['domain']); phpCAS::logout(array('url'=>$GLOBALS['egw_info']['server']['webserver_url'].'/login.php?cd=1&domain='.$GLOBALS['egw_info']['user']['domain']));
} }
// $GLOBALS['egw']->redirect($redirectTarget); // $GLOBALS['egw']->redirect($redirectTarget);