Skip to content

Commit

Permalink
Merge pull request #1 from RVXD/patch-1
Browse files Browse the repository at this point in the history
Do not remove Tagline
  • Loading branch information
gurucomkz authored Feb 1, 2021
2 parents a8e559d + 8c0859e commit 2883ff1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Gurucomkz/Watermark/SiteConfigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class SiteConfigExtension extends DataExtension {
];

public function updateCMSFields(FieldList $fields) {
$fields->removeByName('Tagline');
$fields->addFieldsToTab('Root.Watermarking', [
UploadField::create('WatermarkImage'),
DropdownField::create('WatermarkPosition','Watermark position',$this->owner->dbObject('WatermarkPosition')->enumValues()),
Expand Down

0 comments on commit 2883ff1

Please sign in to comment.