summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/items.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-22 15:15:31 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-22 15:15:31 +0000
commit9eaf3f1434d25e5940f28dd7d3683e965dcf0cc6 (patch)
treeaf6c48cc306eba8119128e9dbc2c56770614f4f9 /frontends/php/include/items.inc.php
parent9875c11fb7e4dbca03f7775f81bf8e4eafa2b4d5 (diff)
downloadzabbix-9eaf3f1434d25e5940f28dd7d3683e965dcf0cc6.tar.gz
zabbix-9eaf3f1434d25e5940f28dd7d3683e965dcf0cc6.tar.xz
zabbix-9eaf3f1434d25e5940f28dd7d3683e965dcf0cc6.zip
- developed "Import/Export" system for ZABBIX configurations (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3504 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/items.inc.php')
-rw-r--r--frontends/php/include/items.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php
index 98a25bba..31473819 100644
--- a/frontends/php/include/items.inc.php
+++ b/frontends/php/include/items.inc.php
@@ -577,10 +577,10 @@
$result = delete_triggers_by_itemid($itemid);
if(!$result) return $result;
- $db_gitems = get_graphitem_by_itemid($itemid);
+ $db_gitems = DBselect('select * from graphs_items where itemid='.$itemid);
while($db_gitem = DBfetch($db_gitems))
{
- $result = delete_graph_by_itemid($db_gitem["graphid"]);
+ $result = delete_graph($db_gitem["graphid"]);
if(!$result) return $result;
}