]> git.mjollnir.org Git - moodle.git/commitdiff
Merged undo for MDL-8385 from 18 stable
authormoodler <moodler>
Sun, 4 Mar 2007 05:46:14 +0000 (05:46 +0000)
committermoodler <moodler>
Sun, 4 Mar 2007 05:46:14 +0000 (05:46 +0000)
lib/accesslib.php

index 01fc36df7b00c31df21537387bca78f63fbc7ac0..f856007af4d804f8912d34d3a8b69dd5d202fb76 100755 (executable)
@@ -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
+?>