r48899 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48898‎ | r48899 | r48900 >
Date:21:48, 26 March 2009
Author:dale
Status:deferred
Tags:
Comment:
updated static $this to self:: reference in static fetchURL function
Modified paths:
  • /trunk/extensions/ExternalData/ED_Utils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ExternalData/ED_Utils.php
@@ -151,8 +151,8 @@
152152 $page = Http::get( $url );
153153 if ( $page === false ) {
154154 sleep( 1 );
155 - if( $try_count >= $this->http_number_of_tries ){
156 - echo "could not get URL after {$this->http_number_of_tries} tries.\n\n";
 155+ if( $try_count >= self::$http_number_of_tries){
 156+ echo "could not get URL after {self::$http_number_of_tries} tries.\n\n";
157157 return '';
158158 }
159159 $try_count++;

Status & tagging log