From 45fab110fab69f69e9f0e50afc76bb8cfe548fa6 Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 24 Jan 2017 12:38:46 +1300 Subject: [PATCH] Remove unused variable --- CRM/ACL/Form/EntityRole.php | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.25.1