summaryrefslogtreecommitdiff
path: root/app/Core/Tool.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-01 21:28:24 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-01 21:28:24 -0400
commitc50255813b1f2de3709b17492d32c9e4ce280236 (patch)
treebac9a31956c558526e831c05c74ef03c676e453b /app/Core/Tool.php
parentca87b1b60f9b4b49c80920e5009d6fbe4e3fb514 (diff)
Added mail helper
Diffstat (limited to 'app/Core/Tool.php')
-rw-r--r--app/Core/Tool.php20
1 files changed, 0 insertions, 20 deletions
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
@@ -13,26 +13,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
*
* @static