Skip to content

Commit

Permalink
API Standardise extension hooks (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Aug 27, 2024
1 parent f23f9ee commit 8cfd100
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Extension/MemberExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function providePermissions(): array
/**
* Clear any temporary multi-factor authentication related session keys when a member is successfully logged in.
*/
public function afterMemberLoggedIn(): void
protected function onAfterMemberLoggedIn(): void
{
if (!Controller::has_curr()) {
return;
Expand Down
2 changes: 1 addition & 1 deletion src/Extension/RequirementsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class RequirementsExtension extends Extension
/**
* @see LeftAndMain::init()
*/
public function init()
protected function onInit()
{
// As requirements for this module are dynamic - plugin methods apply their own requirements - we need to
// include these requirements at run-time (opposed to using $extra_requirements_*)
Expand Down

0 comments on commit 8cfd100

Please sign in to comment.