MDL-32124 mod_feedback: Cleanup post-integration of unused var

This commit is contained in:
Sam Hemelryk
2012-04-10 17:24:30 +12:00
parent 365e69b47d
commit e17f0d3b1e
+2 -4
View File
@@ -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\">";