fix get_saved_values() function in finishopenidlogin

darcs-hash:20080618060549-84dde-d32f1f167a69ea4f98f6a4a2f2ac753675e8cafd.gz
This commit is contained in:
Evan Prodromou 2008-06-18 02:05:49 -04:00
parent 66a1a13435
commit 21463458c5

View File

@ -179,8 +179,7 @@ class FinishopenidloginAction extends Action {
$_SESSION['openid_sreg'] = $sreg;
}
function get_saved_values($display, $canonical, $sreg) {
common_ensure_session();
function get_saved_values() {
return array($_SESSION['openid_display'],
$_SESSION['openid_canonical'],
$_SESSION['openid_sreg']);