Merged undo for MDL-8385 from 18 stable

This commit is contained in:
moodler
2007-03-04 05:46:14 +00:00
parent 6f60c424a8
commit dfd1ff7abe
+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;
}
?>
?>