r50138 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50137‎ | r50138 | r50139 >
Date:17:51, 2 May 2009
Author:ialex
Status:deferred
Tags:
Comment:
Fix for r50137: no need to instanciate the Http class since Http::get() is static
Modified paths:
  • /trunk/extensions/TSPoll/TSPoll.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TSPoll/TSPoll.php
@@ -66,8 +66,7 @@
6767 }
6868
6969 // @todo Can't we just use the Http class?
70 - $http = new http();
71 - $get_server = $http->get( 'http://toolserver.org/~jan/poll/dev/main.php?page=wiki_output&id='.$id );
 70+ $get_server = Http::get( 'http://toolserver.org/~jan/poll/dev/main.php?page=wiki_output&id='.$id );
7271 if( $get_server != '' ) {
7372 return $get_server;
7473 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r50137Change to MediaWiki http functionjan17:13, 2 May 2009

Status & tagging log