MNT Remove TODO comments

This commit is contained in:
Sabina Talipova 2023-10-12 14:59:00 +13:00
parent fe638a0ccb
commit 7d15e3cc68

View File

@ -334,8 +334,6 @@ class BlogPost extends Page
? $parent->Tags() ? $parent->Tags()
: BlogTag::get(); : BlogTag::get();
// @todo: Reimplement the sidebar
// $options = BlogAdminSidebar::create(
$fields->addFieldsToTab( $fields->addFieldsToTab(
'Root.PostOptions', 'Root.PostOptions',
[ [
@ -360,9 +358,6 @@ class BlogPost extends Page
$authorNames $authorNames
] ]
); );
// )->setTitle('Post Options');
// $options->setName('blog-admin-sidebar');
// $fields->insertBefore($options, 'Root');
$fields->fieldByName('Root.PostOptions') $fields->fieldByName('Root.PostOptions')
->setTitle(_t(__CLASS__ . '.PostOptions', 'Post Options')); ->setTitle(_t(__CLASS__ . '.PostOptions', 'Post Options'));