Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/course/edit_form.php b/course/edit_form.php
- index 1b9cfc40284..328f36dfd87 100644
- --- a/course/edit_form.php
- +++ b/course/edit_form.php
- @@ -19,8 +19,8 @@ class course_edit_form extends moodleform {
- global $CFG, $PAGE;
- $mform = $this->_form;
- - $PAGE->requires->yui_module('moodle-course-formatchooser', 'M.course.init_formatchooser',
- - array(array('formid' => $mform->getAttribute('id'))));
- + //$PAGE->requires->yui_module('moodle-course-formatchooser', 'M.course.init_formatchooser',
- + // array(array('formid' => $mform->getAttribute('id'))));
- $course = $this->_customdata['course']; // this contains the data of this form
- $category = $this->_customdata['category'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement