diff --git a/plugins/gofax/blocklists/class_blocklistManagement.inc b/plugins/gofax/blocklists/class_blocklistManagement.inc
index 4a03aec4512f97bf551f7950fed6ff8a84136973..9b946ee97cce5792d6b571dd05d4f497d11cd463 100644 (file)
$this->dn = "";
$this->config = $config;
- $ui = get_userinfo();
- $acl = get_permissions ($ui->dn, $ui->subtreeACL);
- $this->acl = get_module_permission($acl, "blocklists", $ui->dn);
-
$this->DivListBlocklist = new divListBlocklist($this->config,$this);
}
/* Create filter */
if ($ShowSendBocklists){
$filter = "(&(objectClass=goFaxSBlock)(|(cn=".$Regex.")(goFaxSBlocklist=".$Regex.")))";
- $res= get_list($filter, $this->ui->subtreeACL, $base,array("*"), $Flags);
+ $res= get_list($filter, "gofax", $base,array("*"), $Flags);
}
if ($ShowReceiveBlocklists){
$filter2= "(&(objectClass=goFaxRBlock)(|(cn=".$Regex.")(goFaxRBlocklist=".$Regex.")))";
- $res2= get_list($filter2, $this->ui->subtreeACL, $base,array("*"), $Flags);
+ $res2= get_list($filter2, "gofax", $base,array("*"), $Flags);
}
$this->blocklists = array_merge($res,$res2);
"plPriority" => 0,
"plSection" => array("administration" => _("FAX Blocklists")),
- "plCategory" => array("blocklists" => array("description" => _("Blocklists"),
+ "plCategory" => array("gofax" => array("description" => _("Fax"),
"objectClass" => array("goFaxRBlock","goFaxSBlock"))),