Skip to content

Commit

Permalink
Add comment to unsubscribe expired push subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Minishlink committed Apr 21, 2017
1 parent 9286a96 commit 2999f52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/send_push_notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@
$subscription['token'],
true
);

// handle eventual errors here, and remove the subscription from your server if it is expired

0 comments on commit 2999f52

Please sign in to comment.