jenkins-bot has submitted this change and it was merged.

Change subject: ApiFormatPhp: Fix dieUsage call on unknown formatversion value
......................................................................


ApiFormatPhp: Fix dieUsage call on unknown formatversion value

Same as Ib6cee829b589

Change-Id: Ib695520b620e57dba342d984856e58adeaeb4ca8
---
M includes/api/ApiFormatPhp.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Anomie: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/api/ApiFormatPhp.php b/includes/api/ApiFormatPhp.php
index a6a6f32..d88dd40 100644
--- a/includes/api/ApiFormatPhp.php
+++ b/includes/api/ApiFormatPhp.php
@@ -55,7 +55,7 @@
                                break;
 
                        default:
-                               self::dieUsage( __METHOD__ . ': Unknown value 
for \'formatversion\'' );
+                               $this->dieUsage( __METHOD__ . ': Unknown value 
for \'formatversion\'', 'unknownformatversion' );
                }
                $text = serialize( $this->getResult()->getResultData( null, 
$transforms ) );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/205257
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib695520b620e57dba342d984856e58adeaeb4ca8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to