CONTRIB-4868 fix duplicate records found warning in courses with meta enrolments
CONTRIB-4868 (1) do not set maxtime to timemodified; (2) use mintime and maxtime in get_user() function too
Merge pull request #30 from gbateson/CONTRIB-4868-meta-enrolments

CONTRIB-4868 fix duplicate records found warning in courses with meta en...