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 @@
67
67
}
68
68
69
69
// @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 );
72
71
if( $get_server != '' ) {
73
72
return $get_server;
74
73
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r50137
Change to MediaWiki http function
jan
17:13, 2 May 2009
Status & tagging log
07:55, 27 May 2009
Tim Starling
(
talk
|
contribs
)
changed the
status
of r50138
[
removed:
new
added:
deferred]
20:37, 2 May 2009
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r50138
[
removed:
new
added:
deferred]