function tripal_stock_cleanup
1.x tripal_stock.admin.inc | tripal_stock_cleanup($dummy = NULL, $job_id = NULL) |
Remove orphaned drupal nodes
Parameters
$dummy: Not Used -kept for backwards compatibility
$job_id: The id of the tripal job executing this function
Related topics
1 string reference to 'tripal_stock_cleanup'
- tripal_stock_admin_validate in tripal_stock/
includes/ tripal_stock.admin.inc - Implements hook_form_validate(): Validates user input
File
- tripal_stock/
includes/ tripal_stock.admin.inc, line 258 - @todo Add file header description
Code
function tripal_stock_cleanup($dummy = NULL, $job_id = NULL) {
return tripal_core_clean_orphaned_nodes('stock', $job_id);
}