Removed AddToCampaignHandler->setShowTitle()

It was used to support different display variations in admin/assets and admin/pages,
while those display variations should've been removed in the first place (and have been now).
This commit is contained in:
Ingo Schommer 2016-08-28 13:49:25 +12:00
parent 93d7197aad
commit 40904686a4

View File

@ -51,7 +51,6 @@ class CMSPageEditController extends CMSMain {
if (!is_null($results)) {
$request = $this->getRequest();
if($request->getHeader('X-Formschema-Request')) {
$handler->setShowTitle(false);
$data = $this->getSchemaForForm($handler->Form($record));
$data['message'] = $results;
@ -105,7 +104,6 @@ class CMSPageEditController extends CMSMain {
}
$handler = AddToCampaignHandler::create($this, $record);
$handler->setShowTitle(false);
return $handler->Form($record);
}