diff --git a/code/LeftAndMainSubsites.php b/code/LeftAndMainSubsites.php index 0625637..960104e 100644 --- a/code/LeftAndMainSubsites.php +++ b/code/LeftAndMainSubsites.php @@ -130,9 +130,6 @@ class LeftAndMainSubsites extends Extension { // 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()])) { - //SS_Backtrace::backtrace(); - Debug::Show(Subsite::currentSubsiteID()); - $siteIDs = array_keys($sites); Debug::Show($siteIDs[0]); Subsite::changeSubsite($siteIDs[0]);