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

This commit is contained in:
Klaus Leithoff 2011-12-09 11:24:34 +00:00
parent a91a5c2151
commit 770b21b226

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);