| 
														
															@@ -47,12 +47,6 @@ function tripal_feature_install() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															   // add the materialized view 
														 | 
														
														 | 
														
															   // add the materialized view 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   tripal_feature_add_organism_count_mview(); 
														 | 
														
														 | 
														
															   tripal_feature_add_organism_count_mview(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  // add a job to the job queue so this view gets updated automatically next 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  // time the job facility is run 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  if ($mview_id = tripal_mviews_get_mview_id('organism_feature_count')) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    tripal_mviews_action('update', $mview_id); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															    
														 | 
														
														 | 
														
															    
														 | 
													
												
											
												
													
														| 
														 | 
														
															   // create the temp table we will use for loading GFF files 
														 | 
														
														 | 
														
															   // create the temp table we will use for loading GFF files 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   tripal_cv_create_tripal_gff_temp(); 
														 | 
														
														 | 
														
															   tripal_cv_create_tripal_gff_temp(); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -64,12 +58,7 @@ function tripal_feature_install() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  * @ingroup tripal_feature 
														 | 
														
														 | 
														
															  * @ingroup tripal_feature 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  */ 
														 | 
														
														 | 
														
															  */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 function tripal_feature_uninstall() { 
														 | 
														
														 | 
														
															 function tripal_feature_uninstall() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  // Drop the MView table if it exists 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  // D7 @todo Fix tripal_mviews_get_mview_id() 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  if ($mview_id = tripal_mviews_get_mview_id('organism_feature_count')) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    tripal_mviews_action("delete", $mview_id); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-   
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 /** 
														 | 
														
														 | 
														
															 /** 
														 |