From: jitendrapurohit Date: Thu, 17 Mar 2016 09:15:57 +0000 (+0530) Subject: Minor fix for CRM-16173, CRM-16831 - change labels, add separator, etc X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=552069234d7aef6d0294cd9ac725cd66e362aaa6;p=civicrm-core.git Minor fix for CRM-16173, CRM-16831 - change labels, add separator, etc minor fix --- diff --git a/CRM/Upgrade/Incremental/sql/4.7.5.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.7.5.mysql.tpl index 0c7a17a0ba..ddb1d2d05f 100644 --- a/CRM/Upgrade/Incremental/sql/4.7.5.mysql.tpl +++ b/CRM/Upgrade/Incremental/sql/4.7.5.mysql.tpl @@ -1 +1,16 @@ {* file to handle db changes in 4.7.5 during upgrade *} +-- Minor fix for CRM-16173, CRM-16831 - change labels, add separator, etc. +SELECT @parent_id := id from `civicrm_navigation` where name = 'System Settings' AND domain_id = {$domainID}; +UPDATE `civicrm_navigation` SET `label` = 'Components' where `name` = 'Enable Components' and `parent_id` = @parent_id; + +UPDATE + `civicrm_navigation` AS nav1 + JOIN `civicrm_navigation` AS nav2 ON + nav1.name = 'Connections' + AND nav2.name = 'Manage Extensions' + AND nav1.parent_id = @parent_id +SET + nav1.weight = nav2.weight, + nav2.weight = nav1.weight, + nav2.has_separator = 1, + nav2.label = 'Extensions';