Skip to content

Commit

Permalink
Remove "Connections" from navigation menu
Browse files Browse the repository at this point in the history
This obscure feature is currently unused, so there's no reason to show it in the menu.
  • Loading branch information
colemanw committed Oct 28, 2021
1 parent 2c560ed commit 572f6a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CRM/Upgrade/Incremental/sql/5.44.alpha1.mysql.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

{* Polulate RelationshipCache.case_id column *}
UPDATE `civicrm_relationship_cache` rc, `civicrm_relationship` r SET rc.case_id = r.case_id WHERE r.case_id IS NOT NULL AND r.id = rc.relationship_id;

{* Remove Connections admin menu item *}
DELETE FROM `civicrm_navigation` WHERE url = 'civicrm/a/#/cxn';
1 change: 0 additions & 1 deletion xml/templates/civicrm_navigation.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,6 @@ INSERT INTO civicrm_navigation
VALUES

( @domainID, 'civicrm/admin/setting/component?reset=1', '{ts escape="sql" skip="true"}Components{/ts}', 'Enable Components', 'administer CiviCRM', '', @systemSettingslastID, '1', NULL, 1 ),
( @domainID, 'civicrm/a/#/cxn', '{ts escape="sql" skip="true"}Connections{/ts}', 'Connections', 'administer CiviCRM', '', @systemSettingslastID, '1', NULL, 2 ),
( @domainID, 'civicrm/admin/extensions?reset=1', '{ts escape="sql" skip="true"}Extensions{/ts}', 'Manage Extensions', 'administer CiviCRM', '', @systemSettingslastID, '1', 1, 3 ),

( @domainID, 'civicrm/admin/setting/updateConfigBackend?reset=1', '{ts escape="sql" skip="true"}Cleanup Caches and Update Paths{/ts}', 'Cleanup Caches and Update Paths', 'administer CiviCRM', '', @systemSettingslastID, '1', NULL, 4 ),
Expand Down

0 comments on commit 572f6a4

Please sign in to comment.