]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-12846 don't apply coursedefaults->category anymore.
authorstronk7 <stronk7>
Fri, 13 Feb 2009 09:55:40 +0000 (09:55 +0000)
committerstronk7 <stronk7>
Fri, 13 Feb 2009 09:55:40 +0000 (09:55 +0000)
course/edit_form.php

index 89497a299511c3e86074cf08b722862bd2f959bf..c8f8bc2d59fed4967cee3cdf735655886f5f5b72 100644 (file)
@@ -67,7 +67,6 @@ class course_edit_form extends moodleform {
             $mform->addElement('hidden', 'category', null);
         }
         $mform->setHelpButton('category', array('coursecategory', get_string('category')));
-        $mform->setDefault('category', $courseconfig->category);
         $mform->setType('category', PARAM_INT);
 
         $fullname  = get_string('defaultcoursefullname');