r53331 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53330‎ | r53331 | r53332 >
Date:21:10, 15 July 2009
Author:catrope
Status:ok
Tags:
Comment:
Fix fatal in r53282
Modified paths:
  • /trunk/phase3/includes/HttpFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/HttpFunctions.php
@@ -371,7 +371,7 @@
372372 #$use file_get_contents...
373373 # This doesn't have local fetch capabilities...
374374
375 - $headers = array( "User-Agent: " . self :: userAgent() );
 375+ $headers = array( "User-Agent: " . Http :: userAgent() );
376376 if( strcasecmp( $method, 'post' ) == 0 ) {
377377 // Required for HTTP 1.0 POSTs
378378 $headers[] = "Content-Length: 0";

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r53282here it is ... the upload-api, script-server, js2 (javascript phase2) branch ...dale23:52, 14 July 2009

Status & tagging log