From: moodler Date: Sun, 3 Sep 2006 16:31:46 +0000 (+0000) Subject: Cutting down on the debug notices X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=460a7a6271700af0a3fc0a1215db8a8797657c21;p=moodle.git Cutting down on the debug notices --- diff --git a/lib/accesslib.php b/lib/accesslib.php index 6810de83b5..7fb0630cdc 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -383,7 +383,7 @@ function capability_search($capability, $context, $capabilities) { error ('This is an unknown context!'); return false; } - if ($CFG->debug > 7) { + if ($CFG->debug > 15) { notify("Found $capability recursively from context $context->id at level $context->aggregatelevel: $permission", 'notifytiny'); }