You are here

function pmtask_pmproject_change in Drupal PM (Project Management) 7

Implements hook_pmproject_change().

File

pmtask/pmtask.module, line 184

Code

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