Commit 789b32c925155c3028783905f635753a1c4a1833

Authored by michael
1 parent d7bd0414

removed some debug logging


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@740 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 3 deletions
lib/session/SiteMap.inc
@@ -207,14 +207,12 @@ class SiteMap { @@ -207,14 +207,12 @@ class SiteMap {
207 207
208 // need to loop through all (access, page) arrays in this section 208 // need to loop through all (access, page) arrays in this section
209 foreach ($this->aSiteMap[$sSectionName] as $requiredAccess => $pages) { 209 foreach ($this->aSiteMap[$sSectionName] as $requiredAccess => $pages) {
210 - $default->log->debug("SiteMap::getSectionLinks section=$sSectionName, rq=$requiredAccess");//, pages=" . arrayToString($pages));  
211 if ($this->hasPermission($requiredAccess)) { 210 if ($this->hasPermission($requiredAccess)) {
212 foreach ($pages as $action => $pageDetail) { 211 foreach ($pages as $action => $pageDetail) {
213 // add this array to the resultset array if there is link text 212 // add this array to the resultset array if there is link text
214 - $default->log->debug("SiteMap::getSectionLinks page=" . arrayToString($pageDetail));  
215 if ((strlen($pages[$action]["description"]) > 0) && 213 if ((strlen($pages[$action]["description"]) > 0) &&
216 ($pages[$action]["enabled"])) { 214 ($pages[$action]["enabled"])) {
217 - $default->log->debug("SiteMap::getSectionLinks adding $action"); 215 +
218 $results["descriptions"][] = $pages[$action]["description"]; 216 $results["descriptions"][] = $pages[$action]["description"];
219 // if fFolderID is set and fFolderID is in the page string 217 // if fFolderID is set and fFolderID is in the page string
220 // append folderID to the controller link 218 // append folderID to the controller link