Index: trunk/extensions/ExternalData/ED_Utils.php |
— | — | @@ -151,8 +151,8 @@ |
152 | 152 | $page = Http::get( $url ); |
153 | 153 | if ( $page === false ) { |
154 | 154 | 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"; |
157 | 157 | return ''; |
158 | 158 | } |
159 | 159 | $try_count++; |