Make use of accounts class only to set list of global_denied users;

This commit is contained in:
Miles Lott 2001-03-01 16:43:59 +00:00
parent 25f3b8f34c
commit 33f42822d4

View File

@ -27,6 +27,9 @@
$common = new common;
$phpgw_setup->loaddb();
$phpgw_info["server"]["auth_type"] = "ldap";
$acct = CreateObject("phpgwapi.accounts");
$phpgw_setup->db->query("select config_name,config_value from phpgw_config where config_name like 'ldap%'",__LINE__,__FILE__);
while ($phpgw_setup->db->next_record()) {
$config[$phpgw_setup->db->f("config_name")] = $phpgw_setup->db->f("config_value");