function Notifications_Subscription::delete in Notifications 7
Same name and namespace in other branches
- 6.4 includes/notifications_subscription.class.inc \Notifications_Subscription::delete()
Delete from db
1 call to Notifications_Subscription::delete()
- Notifications_Subscription::form_operation in ./
notifications.subscription.inc - Run form operation
File
- ./
notifications.subscription.inc, line 1042 - Drupal Notifications Framework - Default class file
Class
- Notifications_Subscription
- Common base for subscription type and subscription instance
Code
function delete() {
if ($this
->is_stored()) {
$this
->invoke_all('delete');
return $this
->delete_subscription($this->sid);
}
else {
return FALSE;
}
}