From dfd1ff7abeff27e4b040df434baa0a0bf21a04d6 Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 4 Mar 2007 05:46:14 +0000 Subject: [PATCH] Merged undo for MDL-8385 from 18 stable --- lib/accesslib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/accesslib.php b/lib/accesslib.php index 01fc36df7b..f856007af4 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -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; } -?> \ No newline at end of file +?> -- 2.39.5