mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +02:00
MDL-36357 cleanup - remove double semicolons
This commit is contained in:
parent
a3f3ea2684
commit
0e35ba6ffc
53 changed files with 66 additions and 66 deletions
|
@ -35,7 +35,7 @@ $edit = optional_param('edit', -1, PARAM_BOOL);
|
|||
$userpassword = optional_param('userpassword','',PARAM_RAW);
|
||||
$backtocourse = optional_param('backtocourse', false, PARAM_RAW);
|
||||
|
||||
$cm = get_coursemodule_from_id('lesson', $id, 0, false, MUST_EXIST);;
|
||||
$cm = get_coursemodule_from_id('lesson', $id, 0, false, MUST_EXIST);
|
||||
$course = $DB->get_record('course', array('id' => $cm->course), '*', MUST_EXIST);
|
||||
$lesson = new lesson($DB->get_record('lesson', array('id' => $cm->instance), '*', MUST_EXIST));
|
||||
|
||||
|
@ -474,7 +474,7 @@ if ($pageid != LESSON_EOL) {
|
|||
} else {
|
||||
if ($lesson->timed) {
|
||||
if ($outoftime == 'normal') {
|
||||
$grade = new stdClass();;
|
||||
$grade = new stdClass();
|
||||
$grade->lessonid = $lesson->id;
|
||||
$grade->userid = $USER->id;
|
||||
$grade->grade = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue