public function PuSHSubscription::delete in Feeds 7
Same name and namespace in other branches
- 6 plugins/FeedsHTTPFetcher.inc \PuSHSubscription::delete()
- 7.2 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 259
Class
- PuSHSubscription
- Implement a PuSHSubscriptionInterface.
Code
public function delete() {
db_delete('feeds_push_subscriptions')
->condition('domain', $this->domain)
->condition('subscriber_id', $this->subscriber_id)
->execute();
}