public function PuSHSubscription::delete in Feeds 6
Same name and namespace in other branches
- 7.2 plugins/FeedsHTTPFetcher.inc \PuSHSubscription::delete()
- 7 plugins/FeedsHTTPFetcher.inc \PuSHSubscription::delete()
Delete a subscription.
Overrides PuSHSubscriptionInterface::delete
1 call to PuSHSubscription::delete()
- PuSHSubscription::save in plugins/
FeedsHTTPFetcher.inc - Save a subscription.
File
- plugins/
FeedsHTTPFetcher.inc, line 265
Class
- PuSHSubscription
- Implement a PuSHSubscriptionInterface.
Code
public function delete() {
db_query("DELETE FROM {feeds_push_subscriptions} WHERE domain = '%s' AND subscriber_id = %d", $this->domain, $this->subscriber_id);
}