You are here

function globallink_interface_update_submission in GlobalLink Connect for Drupal 7.6

Updates interface submission.

Parameters

object $globallink: GlobalLink object.

1 call to globallink_interface_update_submission()
globallink_interface_cancel_submission in globallink_interface/globallink_interface.inc
Cancels interface submission.

File

globallink_interface/globallink_interface.inc, line 591

Code

function globallink_interface_update_submission(&$globallink) {
  db_update('globallink_core_interface')
    ->fields(array(
    'status' => 'Cancelled',
    'timestamp' => REQUEST_TIME,
  ))
    ->condition('submission_ticket', $globallink->submissionTicket, '=')
    ->condition('submission', $globallink->submissionName, '=')
    ->execute();
}