public function PuSHSubscriber::subscribed in Feeds 7.2
Same name and namespace in other branches
- 6 libraries/PuSHSubscriber.inc \PuSHSubscriber::subscribed()
- 7 libraries/PuSHSubscriber.inc \PuSHSubscriber::subscribed()
Determine whether this subscriber is successfully subscribed or not.
File
- libraries/
PuSHSubscriber.inc, line 288 - Pubsubhubbub subscriber library.
Class
- PuSHSubscriber
- PubSubHubbub subscriber.
Code
public function subscribed() {
if ($sub = $this
->subscription()) {
if ($sub->status == 'subscribed') {
return TRUE;
}
}
return FALSE;
}