From 7f827aef19c9f7c5af65485cd6b5d977db56391b Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Mon, 19 Aug 2024 09:49:15 +1200 Subject: [PATCH] API Standardise extension hooks --- src/CampaignAdminExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CampaignAdminExtension.php b/src/CampaignAdminExtension.php index 70ecbb5..7fa24f2 100644 --- a/src/CampaignAdminExtension.php +++ b/src/CampaignAdminExtension.php @@ -11,7 +11,7 @@ */ class CampaignAdminExtension extends Extension { - public function init() + protected function onInit() { Requirements::add_i18n_javascript('silverstripe/campaign-admin: client/lang', false); Requirements::javascript('silverstripe/campaign-admin: client/dist/js/bundle.js');