summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php')
-rw-r--r--frontends/php/include/config.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index 0c5e0350..55dbe76f 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -2464,10 +2464,10 @@ where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=$triggerid";
function delete_item($itemid)
{
- $sql="select hostid from items where itemid=$itemid";
- $result=DBselect($sql);
- $hostid=DBget_field($result,0,0);
- delete_sysmaps_host_by_hostid($hostid);
+// $sql="select hostid from items where itemid=$itemid";
+// $result=DBselect($sql);
+// $hostid=DBget_field($result,0,0);
+// delete_sysmaps_host_by_hostid($hostid);
$result=delete_triggers_by_itemid($itemid);
if(!$result)