mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +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':
|
case 'indentleft':
|
||||||
if ($mod->indent > 0) {
|
if ($mod->indent > 0) {
|
||||||
$mod->indent--;
|
$mod->indent--;
|
||||||
update_record('course_modules', $mod);
|
$DB->update_record('course_modules', $mod);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'indentright':
|
case 'indentright':
|
||||||
$mod->indent++;
|
$mod->indent++;
|
||||||
update_record('course_modules', $mod);
|
$DB->update_record('course_modules', $mod);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'move':
|
case 'move':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue