Merged undo for MDL-8385 from 18 stable
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user