From 788f1c54c2fd7f26165abc93ce792f05c7da9e6f Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 14 Sep 2020 00:31:41 -0700 Subject: [PATCH] greenwich - Activate on new builds --- bin/regen.sh | 2 +- ext/greenwich/info.xml | 3 +++ xml/templates/civicrm_data.tpl | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/regen.sh b/bin/regen.sh index 6cf3eb54c6..42cb64cdc3 100755 --- a/bin/regen.sh +++ b/bin/regen.sh @@ -47,7 +47,7 @@ php GenerateData.php ## Prune local data $MYSQLCMD -e "DROP TABLE IF EXISTS civicrm_install_canary; DELETE FROM civicrm_cache; DELETE FROM civicrm_setting;" -$MYSQLCMD -e "DELETE FROM civicrm_extension WHERE full_name NOT IN ('sequentialcreditnotes', 'eventcart', 'search', 'flexmailer', 'financialacls');" +$MYSQLCMD -e "DELETE FROM civicrm_extension WHERE full_name NOT IN ('sequentialcreditnotes', 'eventcart', 'greenwich', 'search', 'flexmailer', 'financialacls');" TABLENAMES=$( echo "show tables like 'civicrm_%'" | $MYSQLCMD | grep ^civicrm_ | xargs ) cd $CIVISOURCEDIR/sql diff --git a/ext/greenwich/info.xml b/ext/greenwich/info.xml index d9a7847538..edf93149f9 100644 --- a/ext/greenwich/info.xml +++ b/ext/greenwich/info.xml @@ -16,6 +16,9 @@ 2020-07-21 1.0 + + mgmt:hidden + alpha 5.0 diff --git a/xml/templates/civicrm_data.tpl b/xml/templates/civicrm_data.tpl index a65d033c71..e86bd1e584 100644 --- a/xml/templates/civicrm_data.tpl +++ b/xml/templates/civicrm_data.tpl @@ -1779,5 +1779,6 @@ VALUES -- in the setup routine based on their tags & using the standard extension install api. -- do not try this at home folks. INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'sequentialcreditnotes', 'Sequential credit notes', 'Sequential credit notes', 'sequentialcreditnotes', 1); +INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'greenwich', 'Theme: Greenwich', 'Theme: Greenwich', 'greenwich', 1); INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'eventcart', 'Event cart', 'Event cart', 'eventcart', 1); INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'financialacls', 'Financial ACLs', 'Financial ACLs', 'financialacls', 1); -- 2.25.1