mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
93d7197aad
commit
40904686a4
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user