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 19, 2024
1 parent 523cc2c commit b001050
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit b001050

Please sign in to comment.