Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Standardise extension hooks #559

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading