r37841 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37840‎ | r37841 | r37842 >
Date:10:35, 19 July 2008
Author:jojo
Status:old
Tags:
Comment:
fix: removed erroneous fopen() call.
Modified paths:
  • /trunk/extensions/Collection/Collection.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.body.php
@@ -1187,7 +1187,7 @@
11881188 if ( $timeout ) {
11891189 curl_setopt( $c, CURLOPT_TIMEOUT, $wgHTTPTimeout );
11901190 }
1191 - $headerStream = fopen('/tmp/headers.txt', 'w+'); tmpfile();
 1191+ $headerStream = tmpfile();
11921192 curl_setopt( $c, CURLOPT_WRITEHEADER, $headerStream );
11931193 if ( $toFile ) {
11941194 curl_setopt( $c, CURLOPT_FILE, $toFile );

Status & tagging log