From: stronk7 Date: Thu, 18 Oct 2007 16:04:54 +0000 (+0000) Subject: Commenting some more debug... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b738808bb39802b6088b3870f2a98a6781ac1499;p=moodle.git Commenting some more debug... Merged from MOODLE_19_STABLE --- diff --git a/lib/accesslib.php b/lib/accesslib.php index 364d2c095d..f7602c7f7f 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -474,7 +474,7 @@ function path_inaccessdata($path, $accessdata) { // assume that contexts hang from sys or from a course // this will only work well with stuff that hangs from a course if (in_array($path, $accessdata['loaded'], true)) { - error_log("found it!"); + // error_log("found it!"); return true; } $base = '/' . SYSCONTEXTID; @@ -1622,12 +1622,12 @@ function load_all_capabilities() { function reload_all_capabilities() { global $USER,$CFG; - error_log("reloading"); + // error_log("reloading"); // copy switchroles $sw = array(); if (isset($USER->access['rsw'])) { $sw = $USER->access['rsw']; - error_log(print_r($sw,1)); + // error_log(print_r($sw,1)); } unset($USER->access);