cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table - found another reference to the students column.

This commit is contained in:
tjhunt 2008-11-24 06:28:57 +00:00
parent 61f30d176b
commit 1bd72efa00

View file

@ -89,7 +89,7 @@ class block_quiz_results extends block_base {
// If the block is configured to operate in group mode, or if the name display format // 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 // is other than "fullname", then we need to retrieve the full course record
if (!empty($this->config->usegroups) || $nameformat != B_QUIZRESULTS_NAME_FORMAT_FULL) { 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)) { if(!empty($this->config->usegroups)) {