From f206a3b59c1d28a850d350007cd947e3bb0349d5 Mon Sep 17 00:00:00 2001 From: Mh-Asmi Date: Fri, 11 Aug 2023 14:22:11 +0400 Subject: [PATCH] change function name --- .../V5/Actions/Auth/Handlers/RegisterCommandHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ushahidi/Modules/V5/Actions/Auth/Handlers/RegisterCommandHandler.php b/src/Ushahidi/Modules/V5/Actions/Auth/Handlers/RegisterCommandHandler.php index c9a3b1a94d..cea262c894 100644 --- a/src/Ushahidi/Modules/V5/Actions/Auth/Handlers/RegisterCommandHandler.php +++ b/src/Ushahidi/Modules/V5/Actions/Auth/Handlers/RegisterCommandHandler.php @@ -34,11 +34,11 @@ public function __invoke(Action $action) * @var RegisterCommand $action */ $this->isSupported($action); - $this->checkDisapleRegisteration(); + $this->checkDisableRegisteration(); return $this->user_repository->create($action->getUserEntity()); } - private function checkDisapleRegisteration() + private function checkDisableRegisteration() { if (Feature::isEnabled('disable_registration') && $this->getSite()->getSiteConfig('disable_registration', false)