From c50255813b1f2de3709b17492d32c9e4ce280236 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 1 Jun 2016 21:28:24 -0400 Subject: Added mail helper --- app/Core/Tool.php | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'app/Core/Tool.php') diff --git a/app/Core/Tool.php b/app/Core/Tool.php index 3423998d..bfa6c955 100644 --- a/app/Core/Tool.php +++ b/app/Core/Tool.php @@ -12,26 +12,6 @@ use Pimple\Container; */ class Tool { - /** - * Get the mailbox hash from an email address - * - * @static - * @access public - * @param string $email - * @return string - */ - public static function getMailboxHash($email) - { - if (! strpos($email, '@') || ! strpos($email, '+')) { - return ''; - } - - list($local_part, ) = explode('@', $email); - list(, $identifier) = explode('+', $local_part); - - return $identifier; - } - /** * Build dependency injection container from an array * -- cgit v1.2.3