API CHANGE Re-added SiteTreeSubsites::isMainSite() method which was incorrectly removed in r100324

This commit is contained in:
Sean Harvey 2010-06-28 21:40:36 +00:00
parent 05a4bfdaca
commit b8213d368a

View File

@ -46,6 +46,11 @@ class SiteTreeSubsites extends SiteTreeDecorator {
);
}
function isMainSite() {
if($this->owner->SubsiteID == 0) return true;
return false;
}
/**
* Update any requests to limit the results to the current site
*/