From 42bc392c5620b5431d4de151bca772a069364fad Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Mon, 28 Sep 2020 09:04:32 +1300 Subject: [PATCH] Remove unused URL parameter from newsletter sign up (#16478) As it is not used. --- plugins/UsersManager/NewsletterSignup.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/UsersManager/NewsletterSignup.php b/plugins/UsersManager/NewsletterSignup.php index af489f5562b..ab8739570b3 100644 --- a/plugins/UsersManager/NewsletterSignup.php +++ b/plugins/UsersManager/NewsletterSignup.php @@ -36,7 +36,6 @@ public static function signupForNewsletter($userLogin, $email, $matomoOrg = fals 'email' => $email, 'piwikorg' => (int)$matomoOrg, 'piwikpro' => (int)$professionalServices, - 'url' => Url::getCurrentUrlWithoutQueryString(), 'language' => StaticContainer::get('Piwik\Translation\Translator')->getCurrentLanguage(), ); @@ -50,4 +49,4 @@ public static function signupForNewsletter($userLogin, $email, $matomoOrg = fals return false; } } -} \ No newline at end of file +}