MDL-32124 mod_feedback: Cleanup post-integration of unused var
This commit is contained in:
@@ -66,15 +66,13 @@
|
||||
print_error('invalidsesskey');
|
||||
}
|
||||
|
||||
$strfeedbacks = get_string("modulenameplural", "feedback");
|
||||
$strfeedback = get_string("modulename", "feedback");
|
||||
|
||||
require_capability('mod/feedback:viewreports', $context);
|
||||
|
||||
if($action == 'sendmessage' AND has_capability('moodle/course:bulkmessaging', $coursecontext)) {
|
||||
$shortname = format_string($course->shortname,
|
||||
true,
|
||||
array('context' => get_context_instance(CONTEXT_COURSE, $course->id)));
|
||||
array('context' => $coursecontext));
|
||||
$strfeedbacks = get_string("modulenameplural", "feedback");
|
||||
|
||||
$htmlmessage = "<body id=\"email\">";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user