You are here

function pmtask_pmorganization_change in Drupal PM (Project Management) 7

Implements hook_pmorganization_change().

File

pmtask/pmtask.module, line 174

Code

function pmtask_pmorganization_change($organization_nid, $organization_title) {
  db_update('pmtask')
    ->fields(array(
    'organization_title' => $organization_title,
  ))
    ->condition('organization_nid', $organization_nid)
    ->execute();
}