Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4f0d8cc
)
"MDL-14706, comment value check code to make progress bar work"
author
dongsheng
<dongsheng>
Wed, 17 Sep 2008 07:02:08 +0000
(07:02 +0000)
committer
dongsheng
<dongsheng>
Wed, 17 Sep 2008 07:02:08 +0000
(07:02 +0000)
lib/weblib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/weblib.php
b/lib/weblib.php
index
57d773f
..
26dceb5
100644
(file)
--- a/
lib/weblib.php
+++ b/
lib/weblib.php
@@
-7214,9
+7214,11
@@
EOT;
} else {
$percent = $cur / $total;
}
} else {
$percent = $cur / $total;
}
+ /**
if ($percent != 1 && ($this->lastcall->time + $this->minimum_time) > microtime(true)){
return;
}
if ($percent != 1 && ($this->lastcall->time + $this->minimum_time) > microtime(true)){
return;
}
+ */
$es = $this->estimate(microtime(true), $percent);
$this->_update($percent, $msg, $es);
}
$es = $this->estimate(microtime(true), $percent);
$this->_update($percent, $msg, $es);
}