mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Tabs are out.
(all the module was using them, please change your editor settings to 4 spaces)
This commit is contained in:
parent
894ff63f8f
commit
271fea974f
15 changed files with 1808 additions and 1810 deletions
|
@ -1033,7 +1033,6 @@ function lesson_calculate_ongoing_score($lesson, $userid, $retries, $return=fals
|
|||
$thegrade = 0;
|
||||
}
|
||||
|
||||
|
||||
if ($return) {
|
||||
return $thegrade;
|
||||
} else {
|
||||
|
|
|
@ -202,7 +202,6 @@
|
|||
// hasnt answered any questions but has viewed a branch table
|
||||
$lastpageseen = $lastbranchtable->pageid;
|
||||
}
|
||||
|
||||
}
|
||||
//if ($lastpageseen != $firstpageid) {
|
||||
if (isset($lastpageseen) and count_records('lesson_attempts', 'lessonid', $lesson->id, 'userid', $USER->id, 'retry', $retries) > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue