Minor fix for CRM-16173, CRM-16831 - change labels, add separator, etc
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Thu, 17 Mar 2016 09:15:57 +0000 (14:45 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 18 Mar 2016 06:49:37 +0000 (12:19 +0530)
minor fix

CRM/Upgrade/Incremental/sql/4.7.5.mysql.tpl

index 0c7a17a0ba080f2f96757d2acb8bf1fa63714ca9..ddb1d2d05fca8ac91df15c8e383c35b8c838fab7 100644 (file)
@@ -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';