MDL-12846 don't apply coursedefaults->category anymore.

This commit is contained in:
stronk7 2009-02-13 09:55:40 +00:00
parent 712f332ecb
commit 39c28155a5

View 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');