Author: Andrew Davis
MDL-48942 mod_survey: synced security checks in view.php and graph.php
http://git.moodle.org/gw?p=moodle.git;a=commit;h=2e77d5ec7b24861cd81af2e044e87c8a08d4fd8c
http://github.com/moodle/moodle/commit/2e77d5ec7b24861cd81af2e044e87c8a08d4fd8c
+ 2.8 en [surveycompletednograph,mod_survey]