From 63e3b0d5d8fc7c541e33d547d32e71637468e39d Mon Sep 17 00:00:00 2001 From: jerome Date: Fri, 13 Feb 2009 07:16:29 +0000 Subject: [PATCH] course default settings MDL-12846 remove category, set back number of topic/week to 10 --- admin/settings/courses.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/settings/courses.php b/admin/settings/courses.php index 682729e3e8..5bef017b7d 100644 --- a/admin/settings/courses.php +++ b/admin/settings/courses.php @@ -17,7 +17,6 @@ if ($hassiteconfig /// NOTE: these settings must be applied after all other settings because they depend on them ///main course settings $temp = new admin_settingpage('coursesettings', get_string('coursesettings')); - $temp->add(new admin_settings_coursecat_select('moodlecourse/category', get_string('category'), get_string('coursehelpcategory'), 1)); $courseformats = get_list_of_plugins('course/format'); $formcourseformats = array(); foreach ($courseformats as $courseformat) { @@ -30,7 +29,7 @@ if ($hassiteconfig for ($i=1; $i<=52; $i++) { $sectionmenu[$i] = "$i"; } - $temp->add(new admin_setting_configselect('moodlecourse/numsections', get_string('numberweeks'), get_string('coursehelpnumberweeks'), 3,$sectionmenu)); + $temp->add(new admin_setting_configselect('moodlecourse/numsections', get_string('numberweeks'), get_string('coursehelpnumberweeks'), 10,$sectionmenu)); $choices = array(); $choices['0'] = get_string('hiddensectionscollapsed'); $choices['1'] = get_string('hiddensectionsinvisible'); -- 2.39.5