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

[CGL] Fix intentions in SlackUserContronner

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