MDL-63716 course: less user_accesstime_log() calls
authorDamyon Wiese <damyon@moodle.com>
Fri, 9 Nov 2018 05:09:54 +0000 (13:09 +0800)
committerDamyon Wiese <damyon@moodle.com>
Mon, 12 Nov 2018 08:11:15 +0000 (16:11 +0800)
commit160e77f9d0cefcf9728bc90aa26f2229b9850a52
treee340d70f00a550c7f9ae8fd10ab44b1f12c26e89
parent208950cff04f87e16eb008cd395c2222ec6934a7
MDL-63716 course: less user_accesstime_log() calls

We should only call this function when a user actually views a course. It is not called
automatically when a course context is validated from a webservice. It is called directly
from the core_course_view_course webservice.
course/lib.php
lib/moodlelib.php
lib/upgrade.txt