mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
b208ea26d1
Problem: The grade_categories table lacks a 'locked' field, making it technically impossible to lock grade categories. In Moodle 4.1, the "category total" column could be locked (from the edit category form), but locking grade categories directly was not supported. Solution: In response to the issue, the lock/unlock feature for grade categories has been removed. Since the grade_categories table does not have the necessary 'locked' field, attempting to implement category locking would be infeasible. As a result, the feature has been removed from the interface to avoid confusion. Explanation: By removing the lock/unlock feature for grade categories, we ensure that users no longer encounter non-functional options and prevent any potential misunderstandings about the locking behaviour. Additionally, this change aligns the user interface with the underlying database schema and eliminates any misleading functionality.