MDL-47253 core_grades: set def aggregation method to Natural

Part of: MDL-46576
This commit is contained in:
Marina Glancy
2014-10-03 13:55:24 +08:00
committed by Adrian Greeve
parent c529f4b30f
commit 313e975349
3 changed files with 30 additions and 5 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ if (has_capability('moodle/grade:manage', $systemcontext)
$defaultvisible = array(GRADE_AGGREGATE_SUM);
$defaults = array('value'=>GRADE_AGGREGATE_WEIGHTED_MEAN2, 'forced'=>false, 'adv'=>false);
$defaults = array('value' => GRADE_AGGREGATE_SUM, 'forced' => false, 'adv' => false);
$temp->add(new admin_setting_gradecat_combo('grade_aggregation', new lang_string('aggregation', 'grades'), new lang_string('aggregation_help', 'grades'), $defaults, $options));
$temp->add(new admin_setting_configmultiselect('grade_aggregations_visible', new lang_string('aggregationsvisible', 'grades'),