From: eileen Date: Mon, 23 Jan 2017 23:38:46 +0000 (+1300) Subject: Remove unused variable X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=45fab110fab69f69e9f0e50afc76bb8cfe548fa6;p=civicrm-core.git Remove unused variable --- diff --git a/CRM/ACL/Form/EntityRole.php b/CRM/ACL/Form/EntityRole.php index c16d3644e4..7d3798d72d 100644 --- a/CRM/ACL/Form/EntityRole.php +++ b/CRM/ACL/Form/EntityRole.php @@ -42,8 +42,6 @@ class CRM_ACL_Form_EntityRole extends CRM_Admin_Form { return; } - $attributes = CRM_Core_DAO::getAttribute('CRM_ACL_DAO_EntityRole'); - $aclRoles = array('' => ts('- select -')) + CRM_Core_OptionGroup::values('acl_role'); $this->add('select', 'acl_role_id', ts('ACL Role'), $aclRoles, TRUE