Commit d776f5dc authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[BUGFIX] Replace Success FlashMessage

parent c5eff203
Pipeline #6841 passed with stages
in 2 minutes and 46 seconds
...@@ -97,7 +97,7 @@ class ReactivateUserHook implements \TYPO3\CMS\Backend\RecordList\RecordListGetT ...@@ -97,7 +97,7 @@ class ReactivateUserHook implements \TYPO3\CMS\Backend\RecordList\RecordListGetT
$this->persistenceManager->persistAll(); $this->persistenceManager->persistAll();
$this->addFlashMessage( $this->addFlashMessage(
'The user is created in LDAP', 'The user is created in LDAP',
\TYPO3\CMS\Core\Messaging\FlashMessage::SUCCESS, \TYPO3\CMS\Core\Messaging\FlashMessage::OK,
'Old User transfer' 'Old User transfer'
); );
$this->sendRecoveryMail($oldUser->getEmail(), $oldUser->getUsername()); $this->sendRecoveryMail($oldUser->getEmail(), $oldUser->getUsername());
...@@ -125,7 +125,7 @@ class ReactivateUserHook implements \TYPO3\CMS\Backend\RecordList\RecordListGetT ...@@ -125,7 +125,7 @@ class ReactivateUserHook implements \TYPO3\CMS\Backend\RecordList\RecordListGetT
$this->sendRecoveryMail($feUser->getEmail(), $feUser->getUsername()); $this->sendRecoveryMail($feUser->getEmail(), $feUser->getUsername());
$this->addFlashMessage( $this->addFlashMessage(
'The user is created in LDAP', 'The user is created in LDAP',
\TYPO3\CMS\Core\Messaging\FlashMessage::SUCCESS, \TYPO3\CMS\Core\Messaging\FlashMessage::OK,
'LDAP Transfer' 'LDAP Transfer'
); );
} else { } else {
......
Supports Markdown
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