From e10ec6914bf73abb16e16d7d7b03d6ccbcd3445a Mon Sep 17 00:00:00 2001 From: Matthieu Aubry <mattab@users.noreply.github.com> Date: Tue, 21 Feb 2017 10:57:46 +0100 Subject: [PATCH] piwik.js: In addTracker do not explicitely allow to set piwikUrl to null since it may not work (#11381) --- js/piwik.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/piwik.js b/js/piwik.js index c6d997d201..a4f6709907 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -5638,9 +5638,8 @@ if (typeof window.Piwik !== 'object') { /** * Adds a new tracker. All sent requests will be also sent to the given siteId and piwikUrl. - * If piwikUrl is not set, current url will be used. * - * @param null|string piwikUrl If null, will reuse the same tracker URL of the current tracker instance + * @param string piwikUrl The tracker URL of the current tracker instance * @param int|string siteId * @return Tracker */ -- GitLab