public function PuSHSubscription::save in Feeds 6
Same name and namespace in other branches
- 7.2 plugins/FeedsHTTPFetcher.inc \PuSHSubscription::save()
- 7 plugins/FeedsHTTPFetcher.inc \PuSHSubscription::save()
Save a subscription.
Overrides PuSHSubscriptionInterface::save
File
- plugins/
FeedsHTTPFetcher.inc, line 256
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);
}