Project: moodle
Issue MDL-46967: Remove grade/lib.php update_field()
Replace it by using Moodle's existing database methods or at least something that cannot be used to update anything in the database. Perhaps something like update_weight() in grade_items and another one for grade_grade instances.
Story points: 5