mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-22 12:36:02 +03:00
chore(unsubscribe): Remove dead code.
This commit is contained in:
parent
ef5336450e
commit
8e5420d78a
@ -19,11 +19,6 @@ class Unsubscribe
|
||||
*/
|
||||
private $address;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $tag;
|
||||
|
||||
/**
|
||||
* @var \DateTime
|
||||
*/
|
||||
@ -52,9 +47,6 @@ class Unsubscribe
|
||||
{
|
||||
$unsubscribe = new self($data['address']);
|
||||
|
||||
if (isset($data['tag'])) {
|
||||
$unsubscribe->setTag($data['tag']);
|
||||
}
|
||||
if (isset($data['tags'])) {
|
||||
$unsubscribe->setTags($data['tags']);
|
||||
}
|
||||
@ -73,22 +65,6 @@ class Unsubscribe
|
||||
return $this->address;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTag()
|
||||
{
|
||||
return $this->tag;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $tag
|
||||
*/
|
||||
private function setTag($tag)
|
||||
{
|
||||
$this->tag = $tag;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \DateTime
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user