Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Extra space at end of file :-)

  • Loading branch information...
commit 3f4deb2b86ef6b87285e68fda9a34237a9d8a306 1 parent 0d22e7c
martin authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 mod/survey/lib.php
View
4 mod/survey/lib.php
@@ -126,14 +126,13 @@ function survey_user_outline($course, $user, $mod, $survey) {
$result->info = "Done";
$result->time = $lastanswer->time;
return $result;
-
}
return NULL;
}
function survey_user_complete($course, $user, $mod, $survey) {
- global $CFG, $THEME;
+ global $CFG;
if (survey_already_done($survey->id, $user->id)) {
echo "<IMG SRC=\"$CFG->wwwroot/mod/survey/graph.php?id=$mod->id&sid=$user->id&type=student.png\">";
@@ -143,4 +142,3 @@ function survey_user_complete($course, $user, $mod, $survey) {
}
?>
-
Please sign in to comment.
Something went wrong with that request. Please try again.