Advertisement
stronk7

Untitled

Sep 8th, 2021
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. diff --git a/course/edit_form.php b/course/edit_form.php
  2. index 1b9cfc40284..328f36dfd87 100644
  3. --- a/course/edit_form.php
  4. +++ b/course/edit_form.php
  5. @@ -19,8 +19,8 @@ class course_edit_form extends moodleform {
  6. global $CFG, $PAGE;
  7.  
  8. $mform = $this->_form;
  9. - $PAGE->requires->yui_module('moodle-course-formatchooser', 'M.course.init_formatchooser',
  10. - array(array('formid' => $mform->getAttribute('id'))));
  11. + //$PAGE->requires->yui_module('moodle-course-formatchooser', 'M.course.init_formatchooser',
  12. + // array(array('formid' => $mform->getAttribute('id'))));
  13.  
  14. $course = $this->_customdata['course']; // this contains the data of this form
  15. $category = $this->_customdata['category'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement