You are here

function pmticket_pmproject_change_hierarchy in Drupal PM (Project Management) 7

Implements hook_pmproject_change_hierarchy().

File

pmticket/pmticket.module, line 205
1: Hooks 2: Access functions

Code

function pmticket_pmproject_change_hierarchy($project_nid, $organization_nid, $organization_title) {
  db_update('pmticket')
    ->fields(array(
    'organization_nid' => $organization_nid,
    'organization_title' => $organization_title,
  ))
    ->condition('project_nid', $project_nid)
    ->execute();
}