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:
+1
-3
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user