Browse files

MDL-41894 feedback: Remove unused code, which is generating warnings

  • Loading branch information...
1 parent fb09297 commit 654f0c0cf7bd45f478941a53e2afb35b9ab0ed1d @ankitagarwal ankitagarwal committed Sep 19, 2013
Showing with 0 additions and 8 deletions.
  1. +0 −8 mod/feedback/show_entries.php
View
8 mod/feedback/show_entries.php
@@ -41,10 +41,6 @@
//get the objects
////////////////////////////////////////////////////////
-if ($userid) {
- $formdata->userid = intval($userid);
-}
-
if (! $cm = get_coursemodule_from_id('feedback', $id)) {
print_error('invalidcoursemodule');
}
@@ -65,10 +61,6 @@
require_login($course, true, $cm);
-if (($formdata = data_submitted()) AND !confirm_sesskey()) {
- print_error('invalidsesskey');
-}
-
require_capability('mod/feedback:viewreports', $context);
////////////////////////////////////////////////////////

0 comments on commit 654f0c0

Please sign in to comment.