From: moodler Date: Sun, 4 Mar 2007 05:46:14 +0000 (+0000) Subject: Merged undo for MDL-8385 from 18 stable X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=dfd1ff7abeff27e4b040df434baa0a0bf21a04d6;p=moodle.git Merged undo for MDL-8385 from 18 stable --- 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 +?>