r69193 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69192‎ | r69193 | r69194 >
Date:17:55, 8 July 2010
Author:maxsem
Status:deferred
Tags:
Comment:
OpenID: User::setupSession() is deprecated
Modified paths:
  • /trunk/extensions/OpenID/SpecialOpenIDServer.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenID/SpecialOpenIDServer.body.php
@@ -546,7 +546,7 @@
547547 global $wgSessionStarted, $wgUser;
548548
549549 if ( !$wgSessionStarted ) {
550 - $wgUser->SetupSession();
 550+ wfSetupSession();
551551 }
552552
553553 $_SESSION['openid_server_request'] = $request;
@@ -601,7 +601,7 @@
602602 } else {
603603 $id = $user->getId();
604604 $wgUser = $user;
605 - $wgUser->SetupSession();
 605+ wfSetupSession();
606606 $wgUser->SetCookies();
607607 wfRunHooks( 'UserLoginComplete', array( &$wgUser ) );
608608 return false;

Status & tagging log