Commit 6241513def62471552b9fdea629b1cb220c3e6ce

Authored by Conrad Vermeulen
1 parent a7f3daa2

KTS-2360

"Remove cache logging."
Updated.

Committed By: Conrad Vermeulen
Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7333 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 2 additions and 2 deletions
lib/session/SiteMap.inc
... ... @@ -353,7 +353,7 @@ class SiteMap {
353 353 function getPageArray($action) {
354 354 global $default;
355 355  
356   - $default->log->info("SiteMap::getPage: checking ($action, " . (isset($_SESSION["userID"]) ? $_SESSION["userID"] : "") . ")");
  356 + if (KTLOG_CACHE) $default->log->info("SiteMap::getPage: checking ($action, " . (isset($_SESSION["userID"]) ? $_SESSION["userID"] : "") . ")");
357 357 $groupIDs = array();
358 358  
359 359 // for each section
... ... @@ -377,7 +377,7 @@ class SiteMap {
377 377 }
378 378 // if the function hasn't returned already then the current
379 379 // user does not have access to the action
380   - $default->log->info("Sitemap::getPage: access denied for ($action, " . $_SESSION["userID"] . ")");
  380 + if (KTLOG_CACHE) $default->log->info("Sitemap::getPage: access denied for ($action, " . $_SESSION["userID"] . ")");
381 381 return false;
382 382 }
383 383  
... ...