From f4dd345c7a26456c47f25705cff88448a9246823 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 3 Aug 2019 11:32:12 +0200 Subject: [PATCH] Add version to telemetry --- htdocs/main.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index ff599f7567f..7b983ca05eb 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -2337,7 +2337,7 @@ if (! function_exists("llxFooter")) url: "https://ping.dolibarr.org/", timeout: 500, // timeout milliseconds cache: false, - data: { hash_algo: "md5", hash_unique_id: "file->instance_unique_id); ?>", action: "dolibarrping", entity: entity; ?> }, + data: { hash_algo: "md5", hash_unique_id: "file->instance_unique_id); ?>", action: "dolibarrping", version: "", entity: entity; ?> }, success: function (data, status, xhr) { // success callback function (data contains body of response) console.log("Ping ok"); $.ajax({ @@ -2355,7 +2355,7 @@ if (! function_exists("llxFooter")) url: "", timeout: 500, // timeout milliseconds cache: false, - data: { hash_algo: "md5", hash_unique_id: "file->instance_unique_id); ?>", action: "firstpingko" }, + data: { hash_algo: "md5", hash_unique_id: "file->instance_unique_id); ?>", action: "firstpingko", version: "" }, }); } });