]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-14706, comment value check code to make progress bar work"
authordongsheng <dongsheng>
Wed, 17 Sep 2008 07:02:08 +0000 (07:02 +0000)
committerdongsheng <dongsheng>
Wed, 17 Sep 2008 07:02:08 +0000 (07:02 +0000)
lib/weblib.php

index 57d773f78849d6256548b05c7fa1c6c12b3b4c8d..26dceb51d3906e98fa25157a039d66ad4d310908 100644 (file)
@@ -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);
     }