mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-73735 course: remove duplicate line of code
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at> Co-authored-by: Davo Smith <davo.smith@synergy-learning.com>
This commit is contained in:
parent
bcae2164ac
commit
9b30118456
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user