Skip to content

Commit

Permalink
MDL-12006, commenting out a line that doesn't seem to do anything
Browse files Browse the repository at this point in the history
  • Loading branch information
toyomoyo committed Nov 5, 2007
1 parent eeb28d3 commit 50b4749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/lib.php
Expand Up @@ -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
Expand Down

0 comments on commit 50b4749

Please sign in to comment.