Re-did fix for MDL-8385 performance problem

This commit is contained in:
moodler
2007-03-04 05:40:45 +00:00
parent 81de2d85a6
commit fa8452c1d7
+2 -2
View File
@@ -98,7 +98,7 @@ function load_guest_role($context=NULL, $mergewith=NULL) {
}
}
$searchcontexts = get_child_contexts($context);
$searchcontexts = array(); // get_child_contexts($context); SEE MDL-8385
array_push($searchcontexts, $context->id);
foreach ($searchcontexts as $scid) {
@@ -3797,4 +3797,4 @@ function build_context_rel() {
$db->debug = $savedb;
}
?>
?>