r83671 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83670‎ | r83671 | r83672 >
Date:21:09, 10 March 2011
Author:ialex
Status:ok
Tags:
Comment:
We have wfSetupSession(), so use it
Modified paths:
  • /trunk/extensions/AjaxLogin/ApiAjaxLogin.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AjaxLogin/ApiAjaxLogin.php
@@ -17,7 +17,7 @@
1818 }
1919
2020 public function execute() {
21 - session_start();
 21+ wfSetupSession();
2222 $Name = $Password = $Remember = $Loginattempt = $Mailmypassword = $Token = null;
2323 extract( $this->extractRequestParams() );
2424

Status & tagging log