public function PuSHSubscription::save in Feeds 8.2
Save a subscription.
Overrides PuSHSubscriptionInterface::save
File
- lib/
Drupal/ feeds/ PuSHSubscription.php, line 44
Class
- PuSHSubscription
- Implement a PuSHSubscriptionInterface.
Namespace
Drupal\feedsCode
public function save() {
$this->timestamp = time();
$this
->delete($this->domain, $this->subscriber_id);
drupal_write_record('feeds_push_subscriptions', $this);
}