Skip to content

Commit

Permalink
added FIX ME notice into grade_get_users_by_group(), I did not fix it…
Browse files Browse the repository at this point in the history
… because I do not know what this function should return
  • Loading branch information
skodak committed Apr 22, 2006
1 parent fea68f9 commit 7ceed56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grade/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ function grade_get_users_by_group($course, $group) {
$members = get_records_sql($sql);
if ($members) {
foreach($members as $member) {
// FIX ME: there is no $userid defined!!! - from where is this function used anyway??
$group->$userid = true;
}
return $group;
Expand Down

0 comments on commit 7ceed56

Please sign in to comment.