function globallink_interface_update_submission_status in GlobalLink Connect for Drupal 7.6
Updates interface submission status.
Parameters
string $submission_ticket: The submission ticket.
string $status: The submission status. Defaults to 'Cancelled.'
2 calls to globallink_interface_update_submission_status()
- globallink_interface_clear_cancelled_documents in globallink_interface/
globallink_interface.inc - Clears cancelled interface documents.
- globallink_interface_get_pd_submission_status in globallink_interface/
globallink_interface.inc - Gets interface project director submission status.
File
- globallink_interface/
globallink_interface.inc, line 774
Code
function globallink_interface_update_submission_status($submission_ticket, $status = 'Cancelled') {
db_update('globallink_core_interface')
->fields(array(
'status' => $status,
'timestamp' => REQUEST_TIME,
))
->condition('submission_ticket', $submission_ticket, '=')
->execute();
}