MDL-36357 cleanup - remove double semicolons

This commit is contained in:
Dan Poltawski 2012-11-15 09:51:26 +08:00
parent a3f3ea2684
commit 0e35ba6ffc
53 changed files with 66 additions and 66 deletions

View file

@ -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;