summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-03-23 13:44:32 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-03-23 13:44:32 +0000
commite5f1dbbbf4bbbfbefc24702dec189e0c62b7a17d (patch)
treebbc97d3dc02544c040d8d89aa27922c35ac8fe3a /frontends/php
parentbec775b2fc1963843ef2ced2708714147bae8d4c (diff)
downloadzabbix-e5f1dbbbf4bbbfbefc24702dec189e0c62b7a17d.tar.gz
zabbix-e5f1dbbbf4bbbfbefc24702dec189e0c62b7a17d.tar.xz
zabbix-e5f1dbbbf4bbbfbefc24702dec189e0c62b7a17d.zip
Minor fix.
git-svn-id: svn://svn.zabbix.com/trunk@1305 97f52cf1-0a1b-0410-bd0e-c28be96e8082
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)