From 1e58cca92c62cd6dd590f5c7402723736debefc8 Mon Sep 17 00:00:00 2001 From: Julian Seidenberg Date: Mon, 26 Jul 2010 06:49:33 +0000 Subject: [PATCH] MINOR: removed accidental debug::show left in last commit (again) --- code/LeftAndMainSubsites.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/LeftAndMainSubsites.php b/code/LeftAndMainSubsites.php index 960104e..c287175 100644 --- a/code/LeftAndMainSubsites.php +++ b/code/LeftAndMainSubsites.php @@ -127,11 +127,9 @@ class LeftAndMainSubsites extends Extension { $member = Member::currentUser(); if ($member && $member->isAdmin()) return true; //admin can access all subsites - // Switch to a subsite that this user can actually access. $sites = Subsite::accessible_sites("CMS_ACCESS_{$this->owner->class}")->toDropdownMap(); if($sites && !isset($sites[Subsite::currentSubsiteID()])) { $siteIDs = array_keys($sites); - Debug::Show($siteIDs[0]); Subsite::changeSubsite($siteIDs[0]); return true; }