Commit a3646d2d authored by Thomas Löffler's avatar Thomas Löffler

Changes signal to connect to for auto approvement

parent c7afa0fe
Pipeline #2535 passed with stages
in 5 minutes and 30 seconds
......@@ -125,7 +125,6 @@ class FeManagerHooks
*/
public function newUserAdminApprovement(User $user, UserBackendController $plugin)
{
#User was approved via backend
$this->sendSlackBotMessage(
'User approved',
......
......@@ -13,7 +13,7 @@ if (!defined('TYPO3_MODE')) {
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$dispatcher->connect(
\In2code\Femanager\Controller\NewController::class,
'isAdminConfirmationMissingAutoApprovementDone',
'doApprovementAutoApprovementDone',
\T3o\T3omy\Hooks\FeManagerHooks::class,
'newUserAutoApprovement'
);
......
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