diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-11 11:23:36 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-11 11:23:36 +0000 |
| commit | 8c85e6829a61149b9c2178323c91575d6a285162 (patch) | |
| tree | fc803aff4ce66a5ce0bfa3532724e362a5d33ad3 /frontends/php/include/maps.inc.php | |
| parent | a3a4c01ef782952e749bd8e5116a0b4aa54143f3 (diff) | |
| download | zabbix-8c85e6829a61149b9c2178323c91575d6a285162.tar.gz zabbix-8c85e6829a61149b9c2178323c91575d6a285162.tar.xz zabbix-8c85e6829a61149b9c2178323c91575d6a285162.zip | |
- added availability to yse '\!' characters in item keys (Eugene)
- added code documentation
- fixed fopen error for installation screen
git-svn-id: svn://svn.zabbix.com/trunk@4123 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/maps.inc.php')
| -rw-r--r-- | frontends/php/include/maps.inc.php | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/frontends/php/include/maps.inc.php b/frontends/php/include/maps.inc.php index 507682ac..02976811 100644 --- a/frontends/php/include/maps.inc.php +++ b/frontends/php/include/maps.inc.php @@ -239,8 +239,13 @@ " where selementid=$selementid"); } - # Delete Element from sysmap definition - + /****************************************************************************** + * * + * Purpose: Delete Element from sysmap definition * + * * + * Comments: !!! Don't forget sync code with C !!! * + * * + ******************************************************************************/ function delete_sysmaps_element($selementid) { $result=DBexecute("delete from sysmaps_links". @@ -251,6 +256,11 @@ return DBexecute("delete from sysmaps_elements where selementid=$selementid"); } + /****************************************************************************** + * * + * Comments: !!! Don't forget sync code with C !!! * + * * + ******************************************************************************/ function delete_sysmaps_elements_with_hostid($hostid) { $db_elements = DBselect("select selementid from sysmaps_elements". @@ -271,6 +281,12 @@ } return TRUE; } + + /****************************************************************************** + * * + * Comments: !!! Don't forget sync code with C !!! * + * * + ******************************************************************************/ function delete_sysmaps_elements_with_triggerid($triggerid) { $db_elements = DBselect("select selementid from sysmaps_elements". |
