MDL-12006, commenting out a line that doesn't seem to do anything
This commit is contained in:
+1
-1
@@ -792,7 +792,7 @@ function grade_set_uncategorized() {
|
||||
// get instance name from db.
|
||||
$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
|
||||
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);
|
||||
if (!$item) {
|
||||
// set the item to uncategorized in grade_item
|
||||
|
||||
Reference in New Issue
Block a user