From 460a7a6271700af0a3fc0a1215db8a8797657c21 Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 3 Sep 2006 16:31:46 +0000 Subject: [PATCH] Cutting down on the debug notices --- lib/accesslib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } -- 2.39.5