Eileen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/243872

Change subject: Civi46 reset Navigation menu
......................................................................

Civi46 reset Navigation menu

Reset the navigation menu using the new function provided by Giant Rabbit.

Randomly I have put this against that ticket and Everything else against T99836 
....
Do I need to adjust some commits over?

Bug: T99837
Change-Id: I6b5a919fda66d8c3807ddec64dcb289c1b3b8a9d
---
M sites/all/modules/wmf_civicrm/wmf_civicrm.install
1 file changed, 14 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/72/243872/1

diff --git a/sites/all/modules/wmf_civicrm/wmf_civicrm.install 
b/sites/all/modules/wmf_civicrm/wmf_civicrm.install
index a72c148..8953be8 100644
--- a/sites/all/modules/wmf_civicrm/wmf_civicrm.install
+++ b/sites/all/modules/wmf_civicrm/wmf_civicrm.install
@@ -42,6 +42,7 @@
     wmf_civicrm_update_7060();
     wmf_civicrm_update_7061();
     wmf_civicrm_update_7062();
+    wmf_civicrm_update_7063();
 }
 
 /**
@@ -1487,3 +1488,16 @@
         'contact_default_language' => "undefined",
     ));
 }
+
+/**
+ * Reset navigation menu.
+ *
+ * CRM-17176
+ *
+ * @throws \CiviCRM_API3_Exception
+ */
+function wmf_civicrm_update_7063() {
+    civicrm_api3('Navigation', 'reset', array(
+      'for' => "report",
+    ));
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/243872
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6b5a919fda66d8c3807ddec64dcb289c1b3b8a9d
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: civi-4.6.9
Gerrit-Owner: Eileen <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to