r22080 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22079‎ | r22080 | r22081 >
Date:19:29, 10 May 2007
Author:river
Status:old
Tags:
Comment:
PHP Fatal error: Call to undefined function request() in /usr/local/apache/common-local/php-1.5/includes/HttpFunctions.php on line 8
need to qualify function with class name
Modified paths:
  • /trunk/phase3/includes/HttpFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/HttpFunctions.php
@@ -5,11 +5,11 @@
66 */
77 class Http {
88 static function get( $url, $timeout = 'default' ) {
9 - return request( "GET", $url, $timeout );
 9+ return Http::request( "GET", $url, $timeout );
1010 }
1111
1212 static function post( $url, $timeout = 'default' ) {
13 - return request( "POST", $url, $timeout );
 13+ return Http::request( "POST", $url, $timeout );
1414 }
1515
1616 /**