r49420 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r49419
|
r49420
|
r49421
>
Date:
13:44, 12 April 2009
Author:
tstarling
Status:
deferred
Tags:
Comment:
Call wfSetupSession() from newRequestedSession(), should fix the reports of first-time login failure.
Modified paths:
/trunk/extensions/SecurePoll/includes/Auth.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/SecurePoll/includes/Auth.php
—
—
@@ -137,6 +137,9 @@
138
138
* @return Status
139
139
*/
140
140
function newRequestedSession( $election ) {
141
+ if ( session_id() == '' ) {
142
+ wfSetupSession();
143
+ }
141
144
$status = $this->requestLogin( $election );
142
145
if ( !$status->isOK() ) {
143
146
return $status;
Status & tagging log
07:09, 19 May 2009
Tim Starling
(
talk
|
contribs
)
changed the
status
of r49420
[
removed:
new
added:
deferred]