function globallink_fieldable_panels_update_submission in GlobalLink Connect for Drupal 7.5
Same name and namespace in other branches
- 7.6 globallink_fieldable_panels/globallink_fieldable_panels.inc \globallink_fieldable_panels_update_submission()
Updates fieldable panels submission.
Parameters
object $globallink: GlobalLink object.
1 call to globallink_fieldable_panels_update_submission()
- globallink_fieldable_panels_cancel_submission in globallink_fieldable_panels/
globallink_fieldable_panels.inc - Cancels fieldable panels submission.
File
- globallink_fieldable_panels/
globallink_fieldable_panels.inc, line 307
Code
function globallink_fieldable_panels_update_submission(&$globallink) {
db_update('globallink_core_fieldable_panels')
->fields(array(
'status' => 'Cancelled',
'timestamp' => REQUEST_TIME,
))
->condition('submission_ticket', $globallink->submissionTicket, '=')
->condition('submission', $globallink->submissionName, '=')
->execute();
}