From 6241513def62471552b9fdea629b1cb220c3e6ce Mon Sep 17 00:00:00 2001 From: Conrad Vermeulen Date: Thu, 11 Oct 2007 17:21:57 +0000 Subject: [PATCH] KTS-2360 "Remove cache logging." Updated. --- lib/session/SiteMap.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/session/SiteMap.inc b/lib/session/SiteMap.inc index 2e3a3ff..d92f640 100644 --- a/lib/session/SiteMap.inc +++ b/lib/session/SiteMap.inc @@ -353,7 +353,7 @@ class SiteMap { function getPageArray($action) { global $default; - $default->log->info("SiteMap::getPage: checking ($action, " . (isset($_SESSION["userID"]) ? $_SESSION["userID"] : "") . ")"); + if (KTLOG_CACHE) $default->log->info("SiteMap::getPage: checking ($action, " . (isset($_SESSION["userID"]) ? $_SESSION["userID"] : "") . ")"); $groupIDs = array(); // for each section @@ -377,7 +377,7 @@ class SiteMap { } // if the function hasn't returned already then the current // user does not have access to the action - $default->log->info("Sitemap::getPage: access denied for ($action, " . $_SESSION["userID"] . ")"); + if (KTLOG_CACHE) $default->log->info("Sitemap::getPage: access denied for ($action, " . $_SESSION["userID"] . ")"); return false; } -- libgit2 0.21.4