#29749 self-review comments impl
authorJagadedes <jagadees.pillai@zyxware.com>
Thu, 18 Sep 2014 04:21:14 +0000 (09:51 +0530)
committerJagadedes <jagadees.pillai@zyxware.com>
Thu, 18 Sep 2014 04:21:14 +0000 (09:51 +0530)
wci.php

diff --git a/wci.php b/wci.php
index ba5cd46826c30d92c01fbc1774f92ae63609a9bd..18d6a6ed34c84f6c7503a8f11e963873205801bd 100644 (file)
--- 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)) {