Comment 2 for bug 1735585

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8322
Committed: https://git.mahara.org/mahara/mahara/commit/b335fdb79305dfe9a8f07eb04076e86d45da8ded
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit b335fdb79305dfe9a8f07eb04076e86d45da8ded
Author: Robert Lyon <email address hidden>
Date: Fri Dec 1 14:24:17 2017 +1300

Bug 1735585: Fixing update of atime on page view

Currently we have a mahara_log function that logs page visits
So I decided we also need a mahara_touch_record($table, $id) function
that updates the 'atime' for a record when called

behatnotneeded

Change-Id: I2f645c8357426112f9edcdd24f1b8b85513cb7cb
Signed-off-by: Robert Lyon <email address hidden>