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 #86

Merged
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
4 changes: 2 additions & 2 deletions src/Extensions/LDAPMemberExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ protected function updateCMSFields(FieldList $fields)
* @param ValidationResult
* @throws ValidationException
*/
public function validate(ValidationResult $validationResult)
protected function updateValidate(ValidationResult $validationResult)
{
// We allow empty Username for registration purposes, as we need to
// create Member records with empty Username temporarily. Forms should explicitly
Expand Down Expand Up @@ -295,7 +295,7 @@ public function sync()
*
* @throws Exception When failures are not acceptable via configuration
*/
public function afterMemberLoggedIn()
protected function onAfterMemberLoggedIn()
{
if ($this->owner->GUID) {
try {
Expand Down
Loading