From d0a177ea330beb09a058ff9de9110da0b13dca48 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 27 Jun 2023 17:00:31 -0700 Subject: [PATCH] (REF) Simplify civicrm_tag.sqldata.php --- sql/civicrm_data/civicrm_tag.sqldata.php | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/sql/civicrm_data/civicrm_tag.sqldata.php b/sql/civicrm_data/civicrm_tag.sqldata.php index ad638610b3..974fba7f4f 100644 --- a/sql/civicrm_data/civicrm_tag.sqldata.php +++ b/sql/civicrm_data/civicrm_tag.sqldata.php @@ -1,34 +1,28 @@ addDefaults([ + 'parent_id' => NULL, + 'used_for' => 'civicrm_contact', + ]) ->addValues([ [ 'name' => ts('Non-profit'), 'description' => ts('Any not-for-profit organization.'), - 'parent_id' => NULL, - 'used_for' => 'civicrm_contact', ], [ 'name' => ts('Company'), 'description' => ts('For-profit organization.'), - 'parent_id' => NULL, - 'used_for' => 'civicrm_contact', ], [ 'name' => ts('Government Entity'), 'description' => ts('Any governmental entity.'), - 'parent_id' => NULL, - 'used_for' => 'civicrm_contact', ], [ 'name' => ts('Major Donor'), 'description' => ts('High-value supporter of our organization.'), - 'parent_id' => NULL, - 'used_for' => 'civicrm_contact', ], [ 'name' => ts('Volunteer'), 'description' => ts('Active volunteers.'), - 'parent_id' => NULL, - 'used_for' => 'civicrm_contact', ], ]); -- 2.25.1