From: Jagadedes Date: Thu, 18 Sep 2014 04:21:14 +0000 (+0530) Subject: #29749 self-review comments impl X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cc497d32bab3e5e64db4ee4401c9cf79296b1bc5;p=com.zyxware.civiwci.git #29749 self-review comments impl --- diff --git a/wci.php b/wci.php index ba5cd46..18d6a6e 100644 --- a/wci.php +++ b/wci.php @@ -108,16 +108,6 @@ function wci_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) { } function wci_civicrm_navigationMenu( &$params ) { - echo "test"; - - // Check that our item doesn't already exist - $menu_item_search = array('url' => 'civicrm/trends'); - $menu_items = array(); - CRM_Core_BAO_Navigation::retrieve($menu_item_search, $menu_items); - - if ( ! empty($menu_items) ) { - return; - } $navId = CRM_Core_DAO::singleValueQuery("SELECT max(id) FROM civicrm_navigation"); if (is_integer($navId)) {