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

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrejs Kozlovs <andrejs.kozlovs@zabbix.com>2021-09-03 15:24:41 +0300
committerAndrejs Kozlovs <andrejs.kozlovs@zabbix.com>2021-09-03 15:24:41 +0300
commite80fde850a702e26c84bef35d466bd32192856d3 (patch)
tree4635c914788373568cd0baa5d8d6b10d9f196616 /src/libs/zbxaudit/audit_item.c
parent47a795195d33ae25f1f0c24862f938c8cd857bee (diff)
parentafd09d9a05afefe8132795a5ecb81b5041c8e974 (diff)
........S. [ZBXNEXT-6830] Update from branch 'master' of https://git.zabbix.com/scm/zbx/zabbix into feature/ZBXNEXT-6830-5.5-test
Diffstat (limited to 'src/libs/zbxaudit/audit_item.c')
-rw-r--r--src/libs/zbxaudit/audit_item.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libs/zbxaudit/audit_item.c b/src/libs/zbxaudit/audit_item.c
index 031a30b12b6..614bd94fe81 100644
--- a/src/libs/zbxaudit/audit_item.c
+++ b/src/libs/zbxaudit/audit_item.c
@@ -178,10 +178,6 @@ void zbx_audit_item_update_json_add_data(zbx_uint64_t itemid, const zbx_template
{
zbx_audit_update_json_append_string(itemid, AUDIT_DETAILS_ACTION_ADD, ONLY_ITEM ? "item.trends" :
"itemprototype.trends", item->trends);
- }
-
- if ONLY_ITEM_AND_ITEM_PROTOTYPE
- {
zbx_audit_update_json_append_string(itemid, AUDIT_DETAILS_ACTION_ADD, ONLY_ITEM ? "item.units" :
"itemprototype.units", item->units);
}
@@ -390,7 +386,7 @@ void zbx_audit_item_create_entry_for_delete(zbx_uint64_t id, const char *name, i
/******************************************************************************
* *
- * Function: DBselect_delete_for_item *
+ * Function: zbx_audit_DBselect_delete_for_item *
* *
* Parameters: sql - [IN] sql statement *
* ids - [OUT] sorted list of selected uint64 values *