]> git.mjollnir.org Git - moodle.git/commitdiff
cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns...
authortjhunt <tjhunt>
Mon, 24 Nov 2008 06:28:57 +0000 (06:28 +0000)
committertjhunt <tjhunt>
Mon, 24 Nov 2008 06:28:57 +0000 (06:28 +0000)
blocks/quiz_results/block_quiz_results.php

index ae1d403b46317c5ce491ff6cb92a71754768ee1c..844472bd605baabdbf7dcb5322df8a65a043699a 100644 (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
         // 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)) {