Index: trunk/extensions/OpenID/SpecialOpenIDServer.body.php |
— | — | @@ -546,7 +546,7 @@ |
547 | 547 | global $wgSessionStarted, $wgUser; |
548 | 548 | |
549 | 549 | if ( !$wgSessionStarted ) { |
550 | | - $wgUser->SetupSession(); |
| 550 | + wfSetupSession(); |
551 | 551 | } |
552 | 552 | |
553 | 553 | $_SESSION['openid_server_request'] = $request; |
— | — | @@ -601,7 +601,7 @@ |
602 | 602 | } else { |
603 | 603 | $id = $user->getId(); |
604 | 604 | $wgUser = $user; |
605 | | - $wgUser->SetupSession(); |
| 605 | + wfSetupSession(); |
606 | 606 | $wgUser->SetCookies(); |
607 | 607 | wfRunHooks( 'UserLoginComplete', array( &$wgUser ) ); |
608 | 608 | return false; |