FIX: removed the unsetting of a SESSION variable that kept track of logins for lesson (password protected). This allows for reviewing of lessons that have passwords. Only downside, once logged in to a lesson, dont need to reenter password for that login session. Prolly not a problem

This commit is contained in:
michaelpenne
2005-04-26 21:24:06 +00:00
parent f9ba10343d
commit e5ee4adfd4
+1 -3
View File
@@ -869,9 +869,7 @@
}
}
}
if (isset($USER->lessonloggedin[$lesson->id])) {
unset($USER->lessonloggedin[$lesson->id]);
}
// Update the clock / get time information for this user
if (!isteacher($course->id)) {
unset($USER->startlesson[$lesson->id]);