From: dongsheng Date: Wed, 17 Sep 2008 07:02:08 +0000 (+0000) Subject: "MDL-14706, comment value check code to make progress bar work" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fda7529b7f47d18d95e041a52835bb91fe286bfe;p=moodle.git "MDL-14706, comment value check code to make progress bar work" --- diff --git a/lib/weblib.php b/lib/weblib.php index 57d773f788..26dceb51d3 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -7214,9 +7214,11 @@ EOT; } else { $percent = $cur / $total; } + /** if ($percent != 1 && ($this->lastcall->time + $this->minimum_time) > microtime(true)){ return; } + */ $es = $this->estimate(microtime(true), $percent); $this->_update($percent, $msg, $es); }