From fa1760abc7b1ebdf7a709f23e1d4259ab4968731 Mon Sep 17 00:00:00 2001 From: bdaloukas Date: Thu, 13 Dec 2012 00:04:08 +0200 Subject: [PATCH] Fix: Remove reference to yui2_lib --- attempt.php | 2 -- header.php | 2 -- view.php | 2 -- 3 files changed, 6 deletions(-) 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)) {