diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-02-21 12:57:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-21 12:57:46 +0300 |
commit | e10ec6914bf73abb16e16d7d7b03d6ccbcd3445a (patch) | |
tree | 6f36f364ba8ed10a95e8f65de8645201c72abcf2 /js | |
parent | 6789c01482a548218393501f3f4a9bdef3223458 (diff) |
piwik.js: In addTracker do not explicitely allow to set piwikUrl to null since it may not work (#11381)
Diffstat (limited to 'js')
-rw-r--r-- | js/piwik.js | 3 |
1 files changed, 1 insertions, 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 */ |