diff --git a/src/SiteTreeExtension.php b/src/SiteTreeExtension.php index 0db5404..adb4ca2 100644 --- a/src/SiteTreeExtension.php +++ b/src/SiteTreeExtension.php @@ -15,7 +15,7 @@ */ class SiteTreeExtension extends DataExtension { - public function updateCMSActions(FieldList $actions) + protected function updateCMSActions(FieldList $actions) { // Add to campaign option if not-archived and has publish permission if ((!$this->owner->isPublished() && !$this->owner->isOnDraft())