MINOR: removed accidental debug::show left in last commit

This commit is contained in:
Julian Seidenberg 2010-07-26 06:48:15 +00:00
parent a7935bc3e3
commit 9afc8a452f

View File

@ -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]);