From e5ee4adfd40e367a9092f7d1971f4bd036d6e2bb Mon Sep 17 00:00:00 2001 From: michaelpenne Date: Tue, 26 Apr 2005 21:24:06 +0000 Subject: [PATCH] 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 --- mod/lesson/view.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mod/lesson/view.php b/mod/lesson/view.php index 0aa541dea6a..925394945b2 100644 --- a/mod/lesson/view.php +++ b/mod/lesson/view.php @@ -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]);