* @param int $courseid The current course id.
*/
function hide_natural_aggregation_upgrade_notice($courseid) {
- set_config('show_sumofgrades_upgrade_' . $courseid, false);
+ unset_config('show_sumofgrades_upgrade_' . $courseid);
}
/**
$string['subcategory'] = 'Normal category';
$string['submissions'] = 'Submissions';
$string['submittedon'] = 'Submitted: {$a}';
-$string['sumofgradesupgradedgrades'] = 'A recent upgrade has changed the aggregation method "Sum of grades" to "Natural". Please review the grades in this course as it was previously using "Sum of grades".';
-$string['sumofgradesupgradedgradeshidemessage'] = 'Got it';
+$string['sumofgradesupgradedgrades'] = 'Note: The aggregation method "Sum of grades" has been changed to "Natural" as part of a site upgrade. Since "Sum of grades" was previously used in this course, it is recommended that you review this change in the gradebook.';
+$string['sumofgradesupgradedgradeshidemessage'] = 'OK';
$string['switchtofullview'] = 'Switch to full view';
$string['switchtosimpleview'] = 'Switch to simple view';
$string['tabs'] = 'Tabs';