Permalink
Browse files

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

  • Loading branch information...
1 parent 365e69b commit e17f0d3b1ee9fa96f0de3653d5aa1163749f0782 Sam Hemelryk committed Apr 10, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 mod/feedback/show_nonrespondents.php
@@ -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\">";

0 comments on commit e17f0d3

Please sign in to comment.