aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiQueryCategories.php
diff options
context:
space:
mode:
authorAntoine Musso <hashar@users.mediawiki.org>2011-05-19 17:51:16 +0000
committerAntoine Musso <hashar@users.mediawiki.org>2011-05-19 17:51:16 +0000
commit6a8e32e986bc92773c5564b1a3a36daa8ce7fd0a (patch)
tree9b7b024c5a3a9abb7672bdb471d2050d130c396f /includes/api/ApiQueryCategories.php
parent8aafc06999fb69e17ecdc2c4a3fb670b09f13d17 (diff)
downloadmediawikicore-6a8e32e986bc92773c5564b1a3a36daa8ce7fd0a.tar.gz
mediawikicore-6a8e32e986bc92773c5564b1a3a36daa8ce7fd0a.zip
Single messages can be passed as strings to Api::dieUsageMsg()
Since r88045
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/88416
Diffstat (limited to 'includes/api/ApiQueryCategories.php')
-rw-r--r--includes/api/ApiQueryCategories.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiQueryCategories.php b/includes/api/ApiQueryCategories.php
index b65ea4bf061f..f1440affbbb5 100644
--- a/includes/api/ApiQueryCategories.php
+++ b/includes/api/ApiQueryCategories.php
@@ -104,7 +104,7 @@ class ApiQueryCategories extends ApiQueryGeneratorBase {
}
if ( isset( $show['hidden'] ) && isset( $show['!hidden'] ) ) {
- $this->dieUsageMsg( array( 'show' ) );
+ $this->dieUsageMsg( 'show' );
}
if ( isset( $show['hidden'] ) || isset( $show['!hidden'] ) || isset( $prop['hidden'] ) )
{