Followup to r62557
authorSam Reed <reedy@users.mediawiki.org>
Tue, 16 Feb 2010 01:27:19 +0000 (01:27 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Tue, 16 Feb 2010 01:27:19 +0000 (01:27 +0000)
Add array( 'sessionfailure' ) to getPossibleErrors for token using modules (missed adding when removing from individual modules!)

includes/api/ApiBase.php

index e62e9f9..73ae1ab 100644 (file)
@@ -999,6 +999,7 @@ abstract class ApiBase {
                
                if ( $this->getTokenSalt() != false ) {
                        $ret[] = array( 'missingparam', 'token' );
+                       $ret[] = array( 'sessionfailure' );
                }
 
                return $ret;