r62565 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62564‎ | r62565 | r62566 >
Date:01:27, 16 February 2010
Author:reedy
Status:ok
Tags:
Comment:
Followup to r62557

Add array( 'sessionfailure' ) to getPossibleErrors for token using modules (missed adding when removing from individual modules!)
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -999,6 +999,7 @@
10001000
10011001 if ( $this->getTokenSalt() != false ) {
10021002 $ret[] = array( 'missingparam', 'token' );
 1003+ $ret[] = array( 'sessionfailure' );
10031004 }
10041005
10051006 return $ret;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r62557Refactor requiresToken to getTokenSalt - Returns salt if exists, null if no s...reedy23:53, 15 February 2010

Status & tagging log