Commit 0d5ead94 authored by Stefan Busemann's avatar Stefan Busemann

[BUGFIX] remove unused statement, enable LDAP operation

parent 4781f3fa
Pipeline #5699 failed with stages
in 11 seconds
......@@ -3,7 +3,6 @@ declare(strict_types = 1);
namespace T3o\T3omy\Hooks;
use DmitryDulepov\Realurl\EncodeDecoderBase;
use In2code\Femanager\Domain\Model\User;
use In2code\Femanager\Domain\Repository\UserRepository;
use T3o\T3omy\Domain\Model\OldUser;
......@@ -90,9 +89,9 @@ class ReactivateUserHook implements \TYPO3\CMS\Backend\RecordList\RecordListGetT
$userRepository->add($frontendUser);
$this->persistenceManager->persistAll();
# $ldapOperation = $this->objectManager->get(FeManagerHooks::class);
$ldapOperation = $this->objectManager->get(FeManagerHooks::class);
# $ldapOperation->createUser($frontendUser);
$ldapOperation->createUser($frontendUser);
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment