mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-12006, commenting out a line that doesn't seem to do anything
This commit is contained in:
parent
eeb28d3ff4
commit
50b474966c
1 changed files with 1 additions and 1 deletions
|
@ -792,7 +792,7 @@ function grade_set_uncategorized() {
|
||||||
// get instance name from db.
|
// get instance name from db.
|
||||||
$instance = get_record($mod->modname, 'id', $mod->instance);
|
$instance = get_record($mod->modname, 'id', $mod->instance);
|
||||||
// see if the item is already in the category table and if it is call category select with the id so it is selected
|
// see if the item is already in the category table and if it is call category select with the id so it is selected
|
||||||
get_record('modules', 'name', $mod->modname);
|
// get_record('modules', 'name', $mod->modname);
|
||||||
$item = get_record('grade_item', 'courseid', $course->id, 'modid', $mod->module, 'cminstance', $mod->instance);
|
$item = get_record('grade_item', 'courseid', $course->id, 'modid', $mod->module, 'cminstance', $mod->instance);
|
||||||
if (!$item) {
|
if (!$item) {
|
||||||
// set the item to uncategorized in grade_item
|
// set the item to uncategorized in grade_item
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue