Merge branch 'wip-MDL-31060-master' of git://github.com/marinaglancy/moodle
authorSam Hemelryk <sam@moodle.com>
Mon, 16 Jan 2012 03:58:16 +0000 (11:58 +0800)
committerSam Hemelryk <sam@moodle.com>
Mon, 16 Jan 2012 03:58:16 +0000 (11:58 +0800)
grade/grading/pick.php

index fd4d6ef..779e95c 100644 (file)
@@ -144,8 +144,7 @@ if ($searchdata = $searchform->get_data()) {
 }
 
 // construct the SQL to find all matching templates
-$sql = "SELECT DISTINCT gd.id, gd.areaid, gd.name, gd.description, gd.descriptionformat, gd.timecreated,
-                        gd.usercreated, gd.timemodified, gd.usermodified
+$sql = "SELECT DISTINCT gd.id, gd.areaid, gd.name, gd.usercreated
           FROM {grading_definitions} gd
           JOIN {grading_areas} ga ON (gd.areaid = ga.id)
           JOIN {context} cx ON (ga.contextid = cx.id)";