mirror of
https://github.com/silverstripe/silverstripe-versionfeed
synced 2024-10-22 11:05:31 +02:00
FIX Update CMS fields now that they're being scaffolded (#117)
This commit is contained in:
parent
55e627697d
commit
2d292c6366
@ -28,6 +28,12 @@ class VersionFeed extends SiteTreeExtension
|
||||
'PublicHistory' => true
|
||||
);
|
||||
|
||||
private static array $scaffold_cms_fields_settings = [
|
||||
'ignoreFields' => [
|
||||
'PublicHistory',
|
||||
],
|
||||
];
|
||||
|
||||
protected function updateFieldLabels(&$labels)
|
||||
{
|
||||
$labels['PublicHistory'] = _t(__CLASS__ . '.LABEL', 'Make history public');
|
||||
|
Loading…
Reference in New Issue
Block a user