r99694 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99693‎ | r99694 | r99695 >
Date:16:40, 13 October 2011
Author:reedy
Status:ok
Tags:
Comment:
Followup r85756

Update code to use boolean, as it's not going to be null
Modified paths:
  • /trunk/phase3/includes/api/ApiFeedWatchlist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiFeedWatchlist.php
@@ -100,7 +100,7 @@
101101 }
102102
103103 // Check for 'allrev' parameter, and if found, show all revisions to each page on wl.
104 - if ( !is_null( $params['allrev'] ) ) {
 104+ if ( $params['allrev'] ) {
105105 $fauxReqArr['wlallrev'] = '';
106106 }
107107

Follow-up revisions

RevisionCommit summaryAuthorDate
r99696MFT r99694reedy16:42, 13 October 2011
r100752REL1_18 MFT r99694, r99931reedy21:56, 25 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85756* (bug 28368) add hint for multipart/form-data to api information of action=i...reedy12:15, 10 April 2011

Status & tagging log