mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
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:
parent
61f30d176b
commit
1bd72efa00
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue