Permalink
Browse files

Fixed typo in previous commit

  • Loading branch information...
1 parent 19ec0f2 commit ca2af279342873dc1b74449ad14b3bb8e09538b2 poltawski committed Aug 6, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/accesslib.php
View
@@ -2331,7 +2331,7 @@ function role_unassign($roleid=0, $userid=0, $groupid=0, $contextid=0, $enrol=NU
// remove any forum subscriptions which may be present
if ($forums = get_records('forum', 'course', $context->instanceid)) {
foreach ($forums as $forum) {
- delete_records('forum_subscriptions', 'forum', $forum->id, 'userid', $userid);
+ delete_records('forum_subscriptions', 'forum', $forum->id, 'userid', $ra->userid);
}
}

0 comments on commit ca2af27

Please sign in to comment.