Remove unused variable
authoreileen <emcnaughton@wikimedia.org>
Mon, 23 Jan 2017 23:38:46 +0000 (12:38 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 23 Jan 2017 23:38:46 +0000 (12:38 +1300)
CRM/ACL/Form/EntityRole.php

index c16d3644e4519aa740c756318a37bd3a1a90a67a..7d3798d72dbd0405a8eec66de8da988bb340256a 100644 (file)
@@ -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