Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2020-12-02 06:55:52 +0300
committerGitHub <noreply@github.com>2020-12-02 06:55:52 +0300
commitadbe14c37cf5539978e0cbadf0fb54e3ec3eed4d (patch)
tree2a189e25401936beb8b1157aaebf5a2e06dd98d8 /js/piwik.js
parent67f806616f2191ffa5e3e9afa125ebfd2e52a18f (diff)
Document setGenerationTime removal and add back the method (#16860)
* Document setGenerationTime removal and add back the method * rebuilt piwik.js Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
Diffstat (limited to 'js/piwik.js')
-rw-r--r--js/piwik.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/js/piwik.js b/js/piwik.js
index 78f3edfdbe..df8d6776d0 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -62,7 +62,7 @@
setCustomRequestProcessing,
setCustomVariable, getCustomVariable, deleteCustomVariable, storeCustomVariablesInCookie, setCustomDimension, getCustomDimension,
deleteCustomVariables, deleteCustomDimension, setDownloadExtensions, addDownloadExtensions, removeDownloadExtensions,
- setDomains, setIgnoreClasses, setRequestMethod, setRequestContentType,
+ setDomains, setIgnoreClasses, setRequestMethod, setRequestContentType, setGenerationTimeMs,
setReferrerUrl, setCustomUrl, setAPIUrl, setDocumentTitle, getPiwikUrl, getMatomoUrl, getCurrentUrl,
setDownloadClasses, setLinkClasses,
setCampaignNameKey, setCampaignKeywordKey,
@@ -5524,6 +5524,14 @@ if (typeof window.Matomo !== 'object') {
};
/**
+ * Removed since Matomo 4
+ * @param generationTime
+ */
+ this.setGenerationTimeMs = function(generationTime) {
+ logConsoleError('setGenerationTimeMs is no longer supported since Matomo 4. The call will be ignored. There is currently no replacement yet.');
+ };
+
+ /**
* Override referrer
*
* @param string url