MDL-23311 - Feedback code need upgrade by developer when adding scale

This commit is contained in:
Andreas Grabs
2010-07-16 20:54:09 +00:00
parent e2a4f9492f
commit c27bb7ca15
+11
View File
@@ -456,6 +456,17 @@ function feedback_scale_used ($feedbackid,$scaleid) {
return false;
}
/**
* Checks if scale is being used by any instance of feedback
*
* This is used to find out if scale used anywhere
* @param $scaleid int
* @return boolean True if the scale is used by any assignment
*/
function feedback_scale_used_anywhere($scaleid) {
return false;
}
/**
* This function is used by the reset_course_userdata function in moodlelib.
* This function will remove all responses from the specified feedback