You are here

function pmnote_pmproject_change in Drupal PM (Project Management) 7

Implements hook_pmproject_change().

File

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

Code

function pmnote_pmproject_change($project_nid, $project_title) {
  db_update('pmnote')
    ->fields(array(
    'project_title' => $project_title,
  ))
    ->condition('project_nid', $project_nid)
    ->execute();
}