From f2ba463d186b4bf120ea171cf27f6cdcc596ae9f Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Tue, 7 Jan 2003 15:41:34 +0000 Subject: [PATCH] removed debug output --- lib/SiteMap.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/SiteMap.inc b/lib/SiteMap.inc index fa3d81a..cb3103a 100644 --- a/lib/SiteMap.inc +++ b/lib/SiteMap.inc @@ -52,14 +52,12 @@ class SiteMap { * have access to the page */ function getPage($action, $userClass) { - // TODO: need to accomodate SA having all the access of the userclasses below it // map incoming userClass to number $uc = constant($userClass); - echo "userclass = $userClass; uc=$uc\n"; + // iterate through multidim sitemap array foreach ($this->siteMapArray as $section => $valArr) { foreach ($valArr as $userAccess => $pageArr) { - echo "userAccess=($userAccess)" . constant($userAccess) . "; uc=$uc\n"; if ($uc <= constant($userAccess)) { // now loop through pages until we find the right one foreach ($pageArr as $ackshin => $page) { -- libgit2 0.21.4