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=9767d69680f77fb4cfb6b8517cb352c3ae4d5885
http://github.com/moodle/moodle/commit/9767d69680f77fb4cfb6b8517cb352c3ae4d5885
+ 2.9 en [surveycompletednograph,mod_survey]