Skip to content

Commit

Permalink
API Standardise extension hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Aug 18, 2024
1 parent b6e4fe3 commit 7f827ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CampaignAdminExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 7f827ae

Please sign in to comment.