Refactor getUnsubscribeUrl to instance method
[MAILPOET-2381]
This commit is contained in:
committed by
Jack Kitterhing
parent
4e75f8883e
commit
d90d5c6385
@@ -60,7 +60,8 @@ class Links {
|
||||
$data
|
||||
);
|
||||
} else {
|
||||
$url = Url::getUnsubscribeUrl($subscriber);
|
||||
$subscription_url_factory = Url::getInstance();
|
||||
$url = $subscription_url_factory->getUnsubscribeUrl($subscriber);
|
||||
}
|
||||
return $url;
|
||||
}
|
||||
|
Reference in New Issue
Block a user