From: tjhunt Date: Mon, 24 Nov 2008 06:28:57 +0000 (+0000) Subject: cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1bd72efa00c10654a0ff9f4c87f963593d72c23a;p=moodle.git cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table - found another reference to the students column. --- diff --git a/blocks/quiz_results/block_quiz_results.php b/blocks/quiz_results/block_quiz_results.php index ae1d403b46..844472bd60 100644 --- a/blocks/quiz_results/block_quiz_results.php +++ b/blocks/quiz_results/block_quiz_results.php @@ -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)) {