summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/config.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-02 11:58:31 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-02 11:58:31 +0000
commit99fffbaf39e6bdd1382b9673b3a80f7d7f091bf6 (patch)
treee491f98a257ef398e72d81f0602a666acfb3a271 /frontends/php/include/config.inc.php
parentbc1e6524c3bd99dd5c2befd7a977a47717a1921f (diff)
downloadzabbix-99fffbaf39e6bdd1382b9673b3a80f7d7f091bf6.tar.gz
zabbix-99fffbaf39e6bdd1382b9673b3a80f7d7f091bf6.tar.xz
zabbix-99fffbaf39e6bdd1382b9673b3a80f7d7f091bf6.zip
- screens and actions will not be under control of templates (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2476 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.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 2d323c1a..58c0cd35 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -1559,16 +1559,16 @@ echo "</head>";
}
# Add host-template linkage
- function add_template_linkage($hostid,$templateid,$items,$triggers,$actions,$graphs,$screens)
+ function add_template_linkage($hostid,$templateid,$items,$triggers,$graphs)
{
- $sql="insert into hosts_templates (hostid,templateid,items,triggers,actions,graphs,screens) values ($hostid,$templateid,$items,$triggers,$actions,$graphs,$screens)";
+ $sql="insert into hosts_templates (hostid,templateid,items,triggers,graphs) values ($hostid,$templateid,$items,$triggers,$graphs)";
return DBexecute($sql);
}
# Update host-template linkage
- function update_template_linkage($hosttemplateid,$hostid,$templateid,$items,$triggers,$actions,$graphs,$screens)
+ function update_template_linkage($hosttemplateid,$hostid,$templateid,$items,$triggers,$graphs)
{
- $sql="update hosts_templates set hostid=$hostid,templateid=$templateid,items=$items,triggers=$triggers,actions=$actions,graphs=$graphs,screens=$screens where hosttemplateid=$hosttemplateid";
+ $sql="update hosts_templates set hostid=$hostid,templateid=$templateid,items=$items,triggers=$triggers,graphs=$graphs where hosttemplateid=$hosttemplateid";
return DBexecute($sql);
}