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');