MDL-47253 core_grades: set def aggregation method to Natural
Part of: MDL-46576
This commit is contained in:
committed by
Adrian Greeve
parent
c529f4b30f
commit
313e975349
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user