diff --git a/attempt.php b/attempt.php index 1905f17..9ed75b2 100755 --- a/attempt.php +++ b/attempt.php @@ -82,8 +82,6 @@ $USER->editing = $edit; } - $PAGE->requires->yui2_lib('event'); - // Note: MDL-19010 there will be further changes to printing header and blocks. // The code will be much nicer than this eventually. $title = $course->shortname . ': ' . format_string($game->name); diff --git a/header.php b/header.php index 76eaf3e..89126fc 100755 --- a/header.php +++ b/header.php @@ -59,8 +59,6 @@ $USER->editing = $edit; } - $PAGE->requires->yui2_lib('event'); - // Note: MDL-19010 there will be further changes to printing header and blocks. // The code will be much nicer than this eventually. $title = $course->shortname . ': ' . format_string($game->name); diff --git a/view.php b/view.php index e4347a7..2065b80 100755 --- a/view.php +++ b/view.php @@ -58,8 +58,6 @@ $USER->editing = $edit; } - $PAGE->requires->yui2_lib('event'); - $title = $course->shortname . ': ' . format_string($game->name); if ($PAGE->user_allowed_editing() && !empty($CFG->showblocksonmodpages)) {