diff options
Diffstat (limited to 'frontends/php/include')
| -rw-r--r-- | frontends/php/include/bulkloader.inc.php | 16 | ||||
| -rw-r--r-- | frontends/php/include/db.inc.php | 1 |
2 files changed, 1 insertions, 16 deletions
diff --git a/frontends/php/include/bulkloader.inc.php b/frontends/php/include/bulkloader.inc.php index c730df49..1de27ccb 100644 --- a/frontends/php/include/bulkloader.inc.php +++ b/frontends/php/include/bulkloader.inc.php @@ -46,22 +46,6 @@ include_once "include/config.inc.php"; } } - // This function adds host to a host group based on ID numbers. - // Returns: 0 on failure, otherwise it returns 1 - function add_Host_To_Group($groupid=0,$hostid=0) - { - if($groupid==0||$hostid==0) - { - return 0; - } - $result=DBexecute("insert into hosts_groups (groupid,hostid) values ($groupid,$hostid)"); - if($result) - { - return 1; - } - return 0; - } - // This function takes a user group name and populates the database. // Returns: 0 if unable to create, otherwise it returns the groupID function create_User_Group($group) diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php index 8f6c2b68..058a2a73 100644 --- a/frontends/php/include/db.inc.php +++ b/frontends/php/include/db.inc.php @@ -26,6 +26,7 @@ $DB_TYPE ="MYSQL"; $DB_SERVER ="localhost"; $DB_DATABASE ="zabbix"; +// $DB_DATABASE ="osmiy"; $DB_USER ="root"; $DB_PASSWORD =""; // END OF DATABASE CONFIGURATION |
