Commit b0832f3a823a2e1b6a0cf2f2d87ad4bb02347f64

Authored by michael
1 parent 4c929724

removed debug output


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@58 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 3 deletions
lib/SiteMap.inc
... ... @@ -52,14 +52,12 @@ class SiteMap {
52 52 * have access to the page
53 53 */
54 54 function getPage($action, $userClass) {
55   - // TODO: need to accomodate SA having all the access of the userclasses below it
56 55 // map incoming userClass to number
57 56 $uc = constant($userClass);
58   - echo "userclass = $userClass; uc=$uc\n";
  57 +
59 58 // iterate through multidim sitemap array
60 59 foreach ($this->siteMapArray as $section => $valArr) {
61 60 foreach ($valArr as $userAccess => $pageArr) {
62   - echo "userAccess=($userAccess)" . constant($userAccess) . "; uc=$uc\n";
63 61 if ($uc <= constant($userAccess)) {
64 62 // now loop through pages until we find the right one
65 63 foreach ($pageArr as $ackshin => $page) {
... ...