public function PuSHSubscription::save in Feeds 7.2
Same name and namespace in other branches
- 6 plugins/FeedsHTTPFetcher.inc \PuSHSubscription::save()
- 7 plugins/FeedsHTTPFetcher.inc \PuSHSubscription::save()
Save a subscription.
Overrides PuSHSubscriptionInterface::save
File
- plugins/
FeedsHTTPFetcher.inc, line 418
Class
- PuSHSubscription
- Implement a PuSHSubscriptionInterface.
Code
public function save() {
$this->timestamp = time();
$this
->delete($this->domain, $this->subscriber_id);
drupal_write_record('feeds_push_subscriptions', $this);
}