From: skodak Date: Thu, 5 Jun 2008 14:09:34 +0000 (+0000) Subject: MDL-15094 some more updates X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2ba8bdb84caf8973c39c545f4d3081778a63e0c5;p=moodle.git MDL-15094 some more updates --- diff --git a/course/rest.php b/course/rest.php index 76abd0c03e..6eb4164b10 100644 --- a/course/rest.php +++ b/course/rest.php @@ -103,13 +103,13 @@ switch($_SERVER['REQUEST_METHOD']) { case 'indentleft': if ($mod->indent > 0) { $mod->indent--; - update_record('course_modules', $mod); + $DB->update_record('course_modules', $mod); } break; case 'indentright': $mod->indent++; - update_record('course_modules', $mod); + $DB->update_record('course_modules', $mod); break; case 'move':