set moodle vars
add comment
add update view
fix merge conflict
Merge branch 'master' of https://github.com/canterburycollege/MyCPD2.git into target
Function to return data to update form fields.