Where is lastaccess updated?

Where is lastaccess updated?

de către Richard Crawford-
Număr de răspunsuri: 0
I'm trying to find where in the code the value of lastaccess in a table is set (e.g., mdl_user_teacher.lastaccess or mdl_user_student.lastaccess).  I'm using Moodle 1.5.2.  Can anyone help out?
Media notelor: -