Commit 533cccdd authored by Stefan Busemann's avatar Stefan Busemann

[CGL] Fix intentions in SlackUserContronner

parent dd181b79
Pipeline #6370 failed with stages
in 11 seconds
......@@ -110,7 +110,8 @@ class SlackUserController extends ActionController
switch ($response['error']) {
case 'already_in_team':
$this->addFlashMessage(
LocalizationUtility::translate('tx_t3oslack.existingAccount', $this->extensionName) . $newSlackUser->getEmail(),
LocalizationUtility::translate('tx_t3oslack.existingAccount',
$this->extensionName) . $newSlackUser->getEmail(),
'',
FlashMessage::WARNING
);
......@@ -145,7 +146,7 @@ class SlackUserController extends ActionController
if ($response['error']) {
$message = ' Error code: ' . $response['error'];
}
$this->addFlashMessage(
$this->addFlashMessage(
LocalizationUtility::translate('tx_t3oslack.noConnection', $this->extensionName) . $message,
'',
FlashMessage::ERROR
......
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