You are here

public function PuSHSubscription::delete in Feeds 8.2

Delete a subscription.

Overrides PuSHSubscriptionInterface::delete

1 call to PuSHSubscription::delete()
PuSHSubscription::save in lib/Drupal/feeds/PuSHSubscription.php
Save a subscription.

File

lib/Drupal/feeds/PuSHSubscription.php, line 53

Class

PuSHSubscription
Implement a PuSHSubscriptionInterface.

Namespace

Drupal\feeds

Code

public function delete() {
  db_delete('feeds_push_subscriptions')
    ->condition('domain', $this->domain)
    ->condition('subscriber_id', $this->subscriber_id)
    ->execute();
}