Skip to content
Snippets Groups Projects
Commit 404ee967 authored by Alex Barth's avatar Alex Barth
Browse files

Stop PubsubHubbub from subscribing if it is not enabled.

parent 11e0e082
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,6 @@
Feeds 6.x 1.0 xxxxx xx, 2010-xx-xx
----------------------------------
- alex_b: Stop PubSubHubbub from subscribing if it is not enabled.
- #711664 neclimdul: guarantee compatibility with CTools 1.4 by declaring that
Feeds uses hooks to define plugins via hook_ctools_plugin_plugins().
- #718460 jerdavis: In FeedsNodeProcessor, clear items only for the current
......
......@@ -138,18 +138,14 @@ class FeedsHTTPFetcher extends FeedsFetcher {
* Override sourceSave() - subscribe to hub.
*/
public function sourceSave(FeedsSource $source) {
if ($this->config['use_pubsubhubbub']) {
$this->subscribe($source);
}
$this->subscribe($source);
}
/**
* Override sourceDelete() - unsubscribe from hub.
*/
public function sourceDelete(FeedsSource $source) {
if ($this->config['use_pubsubhubbub']) {
$this->unsubscribe($source);
}
$this->unsubscribe($source);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment