From 552069234d7aef6d0294cd9ac725cd66e362aaa6 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Thu, 17 Mar 2016 14:45:57 +0530 Subject: [PATCH] Minor fix for CRM-16173, CRM-16831 - change labels, add separator, etc minor fix --- CRM/Upgrade/Incremental/sql/4.7.5.mysql.tpl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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'; -- 2.25.1