]> git.mjollnir.org Git - moodle.git/commitdiff
Cutting down on the debug notices
authormoodler <moodler>
Sun, 3 Sep 2006 16:31:46 +0000 (16:31 +0000)
committermoodler <moodler>
Sun, 3 Sep 2006 16:31:46 +0000 (16:31 +0000)
lib/accesslib.php

index 6810de83b523eaee41ef37e413ea18d69d4fd017..7fb0630cdc3e5918e8bd9413a17460094cd1417c 100755 (executable)
@@ -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');
     }