Remove method getMailboxHash()

This commit is contained in:
Frederic Guillot
2017-02-05 17:59:06 -05:00
parent 99b3bfae16
commit 53b0c7bda9
2 changed files with 0 additions and 27 deletions

View File

@@ -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
*