Remove method getMailboxHash()
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user