function tripal_contact_update_6001

1.x tripal_contact.install tripal_contact_update_6001()

Update for Drupal 6.x, Tripal 1.0 This update

  • adds a new contact node

Related topics

File

tripal_contact/tripal_contact.install, line 166
This file contains all the functions which describe and implement drupal database tables needed by this module. This module was developed by Chad N.A. Krilow and Lacey-Anne Sanderson, University of Saskatchewan.

Code

function tripal_contact_update_6001() {
  // add the tripal_contact table
  drupal_install_schema('tripal_contact');

  // add the custom tables
  tripal_contact_add_custom_tables();

  // add loading of the the tripal contact ontology to the job queue
  $obo_path = realpath('./') . '/' . drupal_get_path('module', 'tripal_contact') . '/tcontact.obo';
  $obo_id = tripal_cv_add_obo_ref('Tripal Contacts', $obo_path);
  tripal_cv_submit_obo_job($obo_id);
  return $ret;
}