function signup_cancel_action in Signup 6
Same name and namespace in other branches
- 6.2 signup.module \signup_cancel_action()
- 7 signup.module \signup_cancel_action()
Action callback to cancel a given signup.
Parameters
$signup: Reference to a fully-loaded signup object to cancel.
See also
File
- ./
signup.module, line 903 - 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,
));
}