Commenting this out for now for performance reasons, should be fixed soon!

See MDL-8385
This commit is contained in:
moodler
2007-03-02 10:10:52 +00:00
parent 01be5c29cc
commit d243cd17c5
+2 -2
View File
@@ -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) {
@@ -3418,4 +3418,4 @@ function user_has_role_assignment($userid, $roleid, $contextid=0) {
return record_exists('role_assignments', 'userid', $userid, 'roleid', $roleid);
}
}
?>
?>