mirror of
https://github.com/moodle/moodle.git
synced 2025-08-02 15:49:43 +02:00
MDL-15094 some more updates
This commit is contained in:
parent
ea1e551da6
commit
2ba8bdb84c
1 changed files with 2 additions and 2 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue