function signup_cancel_action in Signup 7
Same name and namespace in other branches
- 6.2 signup.module \signup_cancel_action()
- 6 signup.module \signup_cancel_action()
Action callback to cancel a given signup.
Parameters
stdClass $signup: Reference to a fully-loaded signup object to cancel.
See also
File
- ./
signup.module, line 983 - The Signup module (http://drupal.org/project/signup) manages replies to nodes. In particular, it's good for event management. Signup supports sending reminder emails and automatically closing signups for nodes with a start time, via the Event…
Code
function signup_cancel_action($signup) {
signup_cancel_signup($signup);
watchdog('action', 'Canceled signup @signup_id.', array(
'@signup_id' => $signup->sid,
));
}