From c8a69417e08a430e6bc31f826ed432879b5aff28 Mon Sep 17 00:00:00 2001 From: Nitsan Technologies Date: Sat, 1 Jun 2019 03:15:13 +0530 Subject: [PATCH] [BUG] Changed depricated code from @dontvalidate to @ignorevalidation --- .../Classes/Controller/SlackUserController.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/extensions/t3o_slack/Classes/Controller/SlackUserController.php b/extensions/t3o_slack/Classes/Controller/SlackUserController.php index 1ecc6ab..f7b4ef1 100644 --- a/extensions/t3o_slack/Classes/Controller/SlackUserController.php +++ b/extensions/t3o_slack/Classes/Controller/SlackUserController.php @@ -38,7 +38,7 @@ class SlackUserController extends ActionController * action new * * @param \T3o\T3oSlack\Domain\Model\SlackUser $newSlackUser - * @dontvalidate $newSlackUser + * @ignorevalidation $newSlackUser */ public function newAction(SlackUser $newSlackUser = null) { @@ -68,7 +68,7 @@ class SlackUserController extends ActionController * action for errors and messages * * @param \T3o\T3oSlack\Domain\Model\SlackUser $newSlackUser - * @dontvalidate $newSlackUser + * @ignorevalidation $newSlackUser */ public function messageAction(SlackUser $newSlackUser = null) { @@ -142,7 +142,7 @@ class SlackUserController extends ActionController $logger->error( 'not handled exception in t3o_slack', [ - 'response' => $error + 'response' => $error, ] ); if ($response['error']) { @@ -242,7 +242,7 @@ class SlackUserController extends ActionController /** * @param \T3o\T3oSlack\Domain\Model\SlackUser $newSlackUser - * @dontvalidate $newSlackUser + * @ignorevalidation $newSlackUser */ public function sendConfirmationMailAction($newSlackUser) { @@ -286,7 +286,7 @@ class SlackUserController extends ActionController /** * @param \T3o\T3oSlack\Domain\Model\SlackUser $newSlackUser - * @dontvalidate $newSlackUser + * @ignorevalidation $newSlackUser * @return bool */ public function sendConfirmationMail($newSlackUser) @@ -308,7 +308,7 @@ class SlackUserController extends ActionController [ 'user' => $user, 'hash' => HashUtility::createHashForUser($user), - 'mail' => $newSlackUser->getEmail() + 'mail' => $newSlackUser->getEmail(), ], $femanagerSettings['new.']['email.']['createUserConfirmation.'] ); -- GitLab