assignment MDL-24469 merged changes to head.
authorAparup Banerjee <nebgor@gmail.com>
Mon, 11 Oct 2010 08:27:50 +0000 (08:27 +0000)
committerAparup Banerjee <nebgor@gmail.com>
Mon, 11 Oct 2010 08:27:50 +0000 (08:27 +0000)
mod/assignment/lib.php

index 2305895..cee84af 100644 (file)
@@ -948,7 +948,6 @@ class assignment_base {
         /// Get all ppl that can submit assignments
 
         $currentgroup = groups_get_activity_group($cm);
-        $gradebookroles = explode(",", $CFG->gradebookroles);
         $users = get_enrolled_users($context, 'mod/assignment:view', $currentgroup, 'u.id');
         if ($users) {
             $users = array_keys($users);