function printSummary() { if ($GLOBALS['system']->featureEnabled('DATES')) { $this->fields['dates'] = array('divider_before' => true); } parent::printSummary(); unset($this->fields['dates']); }