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:
authorRoberts Lataria <roberts.lataria@zabbix.com>2021-06-18 17:06:54 +0300
committerRoberts Lataria <roberts.lataria@zabbix.com>2021-06-18 17:14:58 +0300
commit4105d5b8fe607cc989e16d5f95aec7390431ff49 (patch)
tree601afcb4a895275132bdfcaf43a3e22005c88844 /ui/sysmaps.php
parent6902413b10249281e2c0e2ba0327131b03865629 (diff)
A.F....... [ZBXNEXT-6528,ZBXNEXT-6669] moved changes from branch 5.0
Diffstat (limited to 'ui/sysmaps.php')
-rw-r--r--ui/sysmaps.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/ui/sysmaps.php b/ui/sysmaps.php
index 443b097f02d..31a00fcc22d 100644
--- a/ui/sysmaps.php
+++ b/ui/sysmaps.php
@@ -183,7 +183,6 @@ if (hasRequest('add') || hasRequest('update')) {
$messageSuccess = _('Network map updated');
$messageFailed = _('Cannot update network map');
- $auditAction = AUDIT_ACTION_UPDATE;
}
else {
if (getRequest('form') === 'full_clone') {
@@ -214,11 +213,9 @@ if (hasRequest('add') || hasRequest('update')) {
$messageSuccess = _('Network map added');
$messageFailed = _('Cannot add network map');
- $auditAction = AUDIT_ACTION_ADD;
}
if ($result) {
- add_audit($auditAction, AUDIT_RESOURCE_MAP, 'Name ['.$map['name'].']');
unset($_REQUEST['form']);
}
@@ -252,10 +249,6 @@ elseif ((hasRequest('delete') && hasRequest('sysmapid'))
if ($result) {
unset($_REQUEST['form']);
-
- foreach ($maps as $map) {
- add_audit_ext(AUDIT_ACTION_DELETE, AUDIT_RESOURCE_MAP, $map['sysmapid'], $map['name'], null, null, null);
- }
}
$result = DBend($result);