r75058 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75057‎ | r75058 | r75059 >
Date:23:33, 19 October 2010
Author:mah
Status:ok
Tags:
Comment:
Remove Extraneous var_dump from r75046
Modified paths:
  • /trunk/extensions/RSS/RSSData.php (modified) (history)
  • /trunk/extensions/RSS/RSSFetch.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RSS/RSSData.php
@@ -21,10 +21,9 @@
2222 $bit = array();
2323 foreach($item->childNodes as $n) {
2424 $name = $this->rssTokenToName($n->nodeName);
25 - if($name != null)
 25+ if($name != null)
2626 $bit[$name] = $n->nodeValue;
2727 }
28 - var_dump(implode(":: ", array_keys($bit)));
2928 $this->items[] = $bit;
3029 }
3130 }
Index: trunk/extensions/RSS/RSSFetch.php
@@ -132,7 +132,6 @@
133133 }
134134 }
135135
136 - var_dump($request_headers);
137136 $resp = _fetch_remote_file( $url, $request_headers );
138137
139138 if ( isset( $resp ) && $resp ) {
@@ -202,8 +201,6 @@
203202 foreach($headers as $h) {
204203 if( count( $h ) > 1 ) {
205204 $client->setHeader($h[0], $h[1]);
206 - } else {
207 - var_dump($h);
208205 }
209206 }
210207 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r75062merges to r75058neilk00:25, 20 October 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r75046* Use [[Template:RSSPost]] (and [[Mediawiki:Rss-item]]) (or another...mah21:54, 19 October 2010

Status & tagging log