Skip to content

Commit

Permalink
MDL-21403 removing ->asap() from $PAGE->requires, legacy stuff has no…
Browse files Browse the repository at this point in the history
… place in new api, sorry
  • Loading branch information
skodak committed Jan 26, 2010
1 parent 8ce04d5 commit a62d584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/weblib.php
Original file line number Diff line number Diff line change
Expand Up @@ -3162,7 +3162,7 @@ private function _update($percent, $msg, $es){
if ($es === null){
$es = "Infinity";
}
echo $PAGE->requires->js_function_call('update_progress_bar', Array($this->html_id, $w, $this->percent, $msg, $es))->asap();
echo html_writer::script(js_writer::function_call('update_progress_bar', Array($this->html_id, $w, $this->percent, $msg, $es)));
flush();
}
/**
Expand Down

0 comments on commit a62d584

Please sign in to comment.