Tabs are out.

(all the module was using them, please change your editor settings to 4 spaces)
This commit is contained in:
stronk7 2005-05-16 22:41:19 +00:00
parent 894ff63f8f
commit 271fea974f
15 changed files with 1808 additions and 1810 deletions

View file

@ -1033,7 +1033,6 @@ function lesson_calculate_ongoing_score($lesson, $userid, $retries, $return=fals
$thegrade = 0; $thegrade = 0;
} }
if ($return) { if ($return) {
return $thegrade; return $thegrade;
} else { } else {

View file

@ -202,7 +202,6 @@
// hasnt answered any questions but has viewed a branch table // hasnt answered any questions but has viewed a branch table
$lastpageseen = $lastbranchtable->pageid; $lastpageseen = $lastbranchtable->pageid;
} }
} }
//if ($lastpageseen != $firstpageid) { //if ($lastpageseen != $firstpageid) {
if (isset($lastpageseen) and count_records('lesson_attempts', 'lessonid', $lesson->id, 'userid', $USER->id, 'retry', $retries) > 0) { if (isset($lastpageseen) and count_records('lesson_attempts', 'lessonid', $lesson->id, 'userid', $USER->id, 'retry', $retries) > 0) {