From 53b0c7bda9a7dd1a7c36d44987bba1329b3890bb Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 5 Feb 2017 17:59:06 -0500 Subject: Remove method getMailboxHash() --- app/Helper/MailHelper.php | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'app/Helper') diff --git a/app/Helper/MailHelper.php b/app/Helper/MailHelper.php index cb16d6f8..e0d28df3 100644 --- a/app/Helper/MailHelper.php +++ b/app/Helper/MailHelper.php @@ -12,25 +12,6 @@ use Kanboard\Core\Base; */ class MailHelper extends Base { - /** - * Get the mailbox hash from an email address - * - * @access public - * @param string $email - * @return string - */ - public function getMailboxHash($email) - { - if (! strpos($email, '@') || ! strpos($email, '+')) { - return ''; - } - - list($localPart, ) = explode('@', $email); - list(, $identifier) = explode('+', $localPart); - - return $identifier; - } - /** * Filter mail subject * -- cgit v1.2.3