Refactor getUnsubscribeUrl to instance method
[MAILPOET-2381]
This commit is contained in:
committed by
Jack Kitterhing
parent
4e75f8883e
commit
d90d5c6385
@ -97,7 +97,7 @@ class SendingQueueTest extends \MailPoetTest {
|
||||
}
|
||||
|
||||
private function getDirectUnsubscribeURL() {
|
||||
return Url::getUnsubscribeUrl($this->subscriber);
|
||||
return Url::getInstance()->getUnsubscribeUrl($this->subscriber);
|
||||
}
|
||||
|
||||
private function getTrackedUnsubscribeURL() {
|
||||
|
Reference in New Issue
Block a user