MDL-73735 course: remove duplicate line of code
Signed-off-by: Daniel Ziegenberg <[email protected]> Co-authored-by: Davo Smith <[email protected]>
This commit is contained in:
co-authored by
Davo Smith
parent
f49d120761
commit
e55496ae2a
@@ -78,7 +78,6 @@ if ($class === 'section' && $field === 'move') {
|
||||
|
||||
if ($beforeid > 0) {
|
||||
$beforemod = get_coursemodule_from_id('', $beforeid, $course->id);
|
||||
$beforemod = $DB->get_record('course_modules', array('id' => $beforeid));
|
||||
} else {
|
||||
$beforemod = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user