Skip to content

Commit

Permalink
cleanup: MDL-17083 Remove the old teacher, teachers, student and stud…
Browse files Browse the repository at this point in the history
…ents columns from the course table - found another reference to the students column.
  • Loading branch information
tjhunt committed Nov 24, 2008
1 parent 61f30d1 commit 1bd72ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/quiz_results/block_quiz_results.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function get_content() {
// If the block is configured to operate in group mode, or if the name display format
// is other than "fullname", then we need to retrieve the full course record
if (!empty($this->config->usegroups) || $nameformat != B_QUIZRESULTS_NAME_FORMAT_FULL) {
$course = $DB->get_record('course', array('id'=>$courseid), 'groupmode, groupmodeforce, student');
$course = $DB->get_record('course', array('id'=>$courseid), 'groupmode, groupmodeforce');
}

if(!empty($this->config->usegroups)) {
Expand Down

0 comments on commit 1bd72ef

Please sign in to comment.