summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/hosts.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-17 14:21:22 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-17 14:21:22 +0000
commite3a9c8732564acac5c5dce55cdfd201212752716 (patch)
tree9844116112cf4f8b9cbfdc848bfe15cc40c8626a /frontends/php/include/hosts.inc.php
parentb206daa4f6b4ce7cc3236578c6124788e023ac74 (diff)
downloadzabbix-e3a9c8732564acac5c5dce55cdfd201212752716.tar.gz
zabbix-e3a9c8732564acac5c5dce55cdfd201212752716.tar.xz
zabbix-e3a9c8732564acac5c5dce55cdfd201212752716.zip
- added "Host group" element to maps (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3499 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/hosts.inc.php')
-rw-r--r--frontends/php/include/hosts.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/php/include/hosts.inc.php b/frontends/php/include/hosts.inc.php
index 46fd29ee..2b9c8384 100644
--- a/frontends/php/include/hosts.inc.php
+++ b/frontends/php/include/hosts.inc.php
@@ -328,6 +328,9 @@ require_once "include/items.inc.php";
function delete_host_group($groupid)
{
+ if(!delete_sysmaps_elements_with_groupid($groupid))
+ return false;
+
if(!DBexecute("delete from hosts_groups where groupid=$groupid"))
return false;