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