diff options
Diffstat (limited to 'plugins/UsersManager/NewsletterSignup.php')
-rw-r--r-- | plugins/UsersManager/NewsletterSignup.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UsersManager/NewsletterSignup.php b/plugins/UsersManager/NewsletterSignup.php index 3e8be85a89..f1d38a31ae 100644 --- a/plugins/UsersManager/NewsletterSignup.php +++ b/plugins/UsersManager/NewsletterSignup.php @@ -10,10 +10,10 @@ namespace Piwik\Plugins\UsersManager; use Exception; -use Piwik\Config; use Piwik\Container\StaticContainer; use Piwik\Http; use Piwik\Option; +use Piwik\Plugins\Marketplace\Api\Client; use Piwik\SettingsPiwik; class NewsletterSignup @@ -28,7 +28,7 @@ class NewsletterSignup return false; } - $url = Config::getInstance()->General['api_service_url']; + $url = Client::getApiServiceUrl(); $url .= '/1.0/subscribeNewsletter/'; $params = array( |