From da457a944d1132906167d494266cecb8f5b31e1c Mon Sep 17 00:00:00 2001 From: Andreas Grabs Date: Fri, 24 Jun 2011 23:13:00 +0200 Subject: [PATCH] MDL-15587 - Course Participation report for a feedback activity --- mod/feedback/lib.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/mod/feedback/lib.php b/mod/feedback/lib.php index b777e7e98f7..4724036bc00 100644 --- a/mod/feedback/lib.php +++ b/mod/feedback/lib.php @@ -493,6 +493,20 @@ function feedback_scale_used_anywhere($scaleid) { return false; } +/** + * @return array + */ +function feedback_get_view_actions() { + return array('view','view all'); +} + +/** + * @return array + */ +function feedback_get_post_actions() { + return array('submit'); +} + /** * This function is used by the reset_course_userdata function in moodlelib. * This function will remove all responses from the specified feedback -- 2.17.1