Browse Source

Fix: Remove reference to yui2_lib

MOODLE_20_STABLE
bdaloukas 12 years ago
parent
commit
fa1760abc7
  1. 2
      attempt.php
  2. 2
      header.php
  3. 2
      view.php

2
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);

2
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);

2
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)) {

Loading…
Cancel
Save