CHOICE MDL-24102 remove unused var - which should never be used anyway as it isn't cleaned!!

This commit is contained in:
Dan Marsden
2010-11-19 03:42:33 +00:00
parent cbad562eee
commit 32944e8d54
+1 -1
View File
@@ -51,7 +51,7 @@
$PAGE->set_heading($course->fullname);
/// Submit any new data if there is any
if ($form = data_submitted() && is_enrolled($context, NULL, 'mod/choice:choose') && confirm_sesskey()) {
if (data_submitted() && is_enrolled($context, NULL, 'mod/choice:choose') && confirm_sesskey()) {
$timenow = time();
if (has_capability('mod/choice:deleteresponses', $context)) {
if ($action == 'delete') { //some responses need to be deleted