Comment 3 for bug 1265696

Reviewed: https://reviews.mahara.org/2863
Committed: http://gitorious.org/mahara/mahara/commit/cb1d3bc8fa9c1168f90d06b92be1fb59d21334f2
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit cb1d3bc8fa9c1168f90d06b92be1fb59d21334f2
Author: Robert Lyon <email address hidden>
Date: Mon Jan 6 08:30:27 2014 +1300

Add ctime if needing to insert view_access row for profile (bug 1265696)

When forcing the 'Logged-in profile access' for profile page and the
view_access row does not exist we need to set the ctime.

See bug for test scenario.

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