From 2931fc6915c282b8d9f652115afb506e9c918f25 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 9 Jun 2023 14:32:56 -0700 Subject: [PATCH] (REF) civicrm_extension.sqldata.php - Remove redundant lines --- sql/civicrm_data/civicrm_extension.sqldata.php | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/sql/civicrm_data/civicrm_extension.sqldata.php b/sql/civicrm_data/civicrm_extension.sqldata.php index 75406da5b3..37d159560e 100644 --- a/sql/civicrm_data/civicrm_extension.sqldata.php +++ b/sql/civicrm_data/civicrm_extension.sqldata.php @@ -10,53 +10,39 @@ return CRM_Core_CodeGen_SqlData::create('civicrm_extension', 'INSERT IGNORE INTO 'type' => 'module', 'is_active' => 1, ]) + ->syncColumns('fill', ['full_name' => 'file', 'name' => 'label']) ->addValues([ [ 'full_name' => 'sequentialcreditnotes', 'name' => 'Sequential credit notes', - 'label' => 'Sequential credit notes', - 'file' => 'sequentialcreditnotes', ], [ 'full_name' => 'greenwich', 'name' => 'Theme: Greenwich', - 'label' => 'Theme: Greenwich', - 'file' => 'greenwich', ], [ 'full_name' => 'eventcart', 'name' => 'Event cart', - 'label' => 'Event cart', - 'file' => 'eventcart', ], [ 'full_name' => 'financialacls', 'name' => 'Financial ACLs', - 'label' => 'Financial ACLs', - 'file' => 'financialacls', ], [ 'full_name' => 'recaptcha', 'name' => 'reCAPTCHA', - 'label' => 'reCAPTCHA', - 'file' => 'recaptcha', ], [ 'full_name' => 'ckeditor4', 'name' => 'CKEditor4', - 'label' => 'CKEditor4', - 'file' => 'ckeditor4', ], [ 'full_name' => 'legacycustomsearches', 'name' => 'Custom search framework', - 'label' => 'Custom search framework', - 'file' => 'legacycustomsearches', ], [ 'full_name' => 'org.civicrm.flexmailer', 'name' => 'FlexMailer', - 'label' => 'FlexMailer', 'file' => 'flexmailer', ], ]); -- 2.25.1