Skip to content

Commit

Permalink
mod/url MDL-19756 Convert print_footer to OUTPUT->footer
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Oct 30, 2009
1 parent b1b4c2d commit d34c1e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/url/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function url_print_workaround($url, $cm, $course) {
* @return does not return
*/
function url_display_embed($url, $cm, $course) {
global $CFG, $PAGE;
global $CFG, $PAGE, $OUTPUT;

$clicktoopen = get_string('clicktoopen', 'url', $url->externalurl);

Expand Down Expand Up @@ -278,7 +278,7 @@ function url_display_embed($url, $cm, $course) {

url_print_intro($url, $cm, $course);

print_footer();
echo $OUTPUT->footer();
die;
}

Expand Down

0 comments on commit d34c1e9

Please sign in to comment.