From eb9aa1686c8337ef42eedb6d9842e2356dd2ab45 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 16 Feb 2010 01:27:19 +0000 Subject: [PATCH] Followup to r62557 Add array( 'sessionfailure' ) to getPossibleErrors for token using modules (missed adding when removing from individual modules!) --- includes/api/ApiBase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index e62e9f9481..73ae1ab5cf 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -999,6 +999,7 @@ abstract class ApiBase { if ( $this->getTokenSalt() != false ) { $ret[] = array( 'missingparam', 'token' ); + $ret[] = array( 'sessionfailure' ); } return $ret; -- 2.20.1