1 Jun 2008 03:40
SVN: [35665] trunk/extensions
<tstarling <at> svn.wikimedia.org>
2008-06-01 01:40:41 GMT
2008-06-01 01:40:41 GMT
Revision: 35665
Author: tstarling
Date: 2008-06-01 01:40:41 +0000 (Sun, 01 Jun 2008)
Log Message:
-----------
In BoardVote: If the user has a CentralAuth token but not a session, issue them a session so that we can give it
to SPI.
Modified Paths:
--------------
trunk/extensions/BoardVote/GoToBoardVote_body.php
trunk/extensions/CentralAuth/CentralAuthUser.php
Modified: trunk/extensions/BoardVote/GoToBoardVote_body.php
===================================================================
--- trunk/extensions/BoardVote/GoToBoardVote_body.php 2008-05-31 22:36:03 UTC (rev 35664)
+++ trunk/extensions/BoardVote/GoToBoardVote_body.php 2008-06-01 01:40:41 UTC (rev 35665)
<at> <at> -14,13 +14,17 <at> <at>
$this->setHeaders();
- global $wgCentralAuthCookiePrefix;
- if ( isset( $wgCentralAuthCookiePrefix )
- && isset( $_COOKIE[$wgCentralAuthCookiePrefix . 'Session'] ) )
- {
- $centralSessionId = $_COOKIE[$wgCentralAuthCookiePrefix . 'Session'];
- } else {
- $centralSessionId = '';
+ $centralSessionId = '';
(Continue reading)
RSS Feed