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:
@@ -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
|
||||
// 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)) {
|
||||
|
||||
Reference in New Issue
Block a user