r51149 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51148‎ | r51149 | r51150 >
Date:08:56, 29 May 2009
Author:thedevilonline
Status:deferred
Tags:
Comment:
- Fixed a small bug
Modified paths:
  • /trunk/extensions/LocalisationUpdate/LocalisationUpdate.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LocalisationUpdate/LocalisationUpdate.class.php
@@ -173,7 +173,7 @@
174174 $basefilecontents = "";
175175 // use cURL to get the SVN contents
176176 if ( preg_match( "/^http/", $basefile ) ) {
177 - while(empty($basefilecontents) && $attempts < $wgLocalisationUpdateRetryAttempts) {
 177+ while(empty($basefilecontents) && $attempts <= $wgLocalisationUpdateRetryAttempts) {
178178 if($attempts > 0)
179179 sleep(1);
180180 $basefilecontents = Http::get( $basefile );

Status & tagging log