function tripal_unregister_analysis_child

2.x tripal_analysis.api.inc tripal_unregister_analysis_child($modulename)

Un-register a tripal analysis sub-module

Parameters

$modulename: The name of the module to un-register

Related topics

1 call to tripal_unregister_analysis_child()
1 string reference to 'tripal_unregister_analysis_child'

File

tripal_analysis/api/tripal_analysis.api.inc, line 41
Provides functions for managing analysis'.

Code

function tripal_unregister_analysis_child($modulename) {
  if (db_table_exists('tripal_analysis')) {
    $sql = "DELETE FROM {tripal_analysis} WHERE modulename = :modname";
    db_query($sql, array(':modname' => $modulename));
  }
}