Navigation Menu

Skip to content

Commit

Permalink
Commenting this out for now for performance reasons, should be fixed …
Browse files Browse the repository at this point in the history
…soon!

See MDL-8385
  • Loading branch information
moodler committed Mar 2, 2007
1 parent 01be5c2 commit d243cd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/accesslib.php
Expand Up @@ -72,7 +72,7 @@ function load_guest_role($context=NULL) {
}
}

$searchcontexts = get_child_contexts($context);
$searchcontexts = array(); // get_child_contexts($context); SEE MDL-8385
array_push($searchcontexts, $context->id);

foreach ($searchcontexts as $scid) {
Expand Down Expand Up @@ -3418,4 +3418,4 @@ function user_has_role_assignment($userid, $roleid, $contextid=0) {
return record_exists('role_assignments', 'userid', $userid, 'roleid', $roleid);
}
}
?>
?>

0 comments on commit d243cd1

Please sign in to comment.