You are here

function pmnote_pmproject_change_hierarchy in Drupal PM (Project Management) 7

Implements hook_pmproject_change_hierarchy().

File

pmnote/pmnote.module, line 172
Functions for the PM Note module.

Code

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