r50319 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r50318
|
r50319
|
r50320
>
Date:
20:02, 7 May 2009
Author:
demon
Status:
ok
Tags:
Comment:
Don't explicitly check for false. Most modules without params return an empty array rather than false, in which case we still don't want to output this.
Modified paths:
/trunk/phase3/includes/api/ApiBase.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/api/ApiBase.php
—
—
@@ -272,7 +272,7 @@
273
273
*/
274
274
public function makeHelpMsgParameters() {
275
275
$params = $this->getFinalParams();
276
- if ($params !== false) {
276
+ if ( $params ) {
277
277
278
278
$paramsDescription = $this->getFinalParamDescription();
279
279
$msg = '';
Status & tagging log
22:41, 8 June 2011
Krinkle
(
talk
|
contribs
)
changed the
tags
for r50319
[
removed:
ok]
16:27, 19 May 2009
Tim Starling
(
talk
|
contribs
)
changed the
status
of r50319
[
removed:
new
added:
ok]
04:06, 8 May 2009
Aaron Schulz
(
talk
|
contribs
)
changed the
tags
for r50319
[
added:
ok]