Skip to content

Commit

Permalink
Update ArticlesPage.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennisprins93 authored Aug 5, 2024
1 parent 860e7c6 commit 16a9b20
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Pages/ArticlesPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class ArticlesPage extends \Page
private static string $default_child = ArticlePage::class;

private static array $db = [
'RelatedArticlesTitle' => 'Varchar',
'PageLength' => 'Int',
];

Expand Down Expand Up @@ -153,13 +152,6 @@ public function getCMSFields(): FieldList
$this->getGridConfig('PinnedSort')
)
);

$fields->addFieldsToTab(
'Root.Settings',
[
TextField::create('RelatedArticlesTitle', 'Title above related articles'),
]
);
});

$fields = parent::getCMSFields();
Expand Down

0 comments on commit 16a9b20

Please sign in to comment.