summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-20 16:13:52 -0500
committerEvan Prodromou <evan@status.net>2010-01-20 16:13:52 -0500
commit365b0b1e14a34ed433ac169d5cfb6066f11919ba (patch)
tree88d5009d30631754ca9849fbd4c907c0ba1425fb /plugins
parent7679f058efc43137519167f0e862f89475d43d6f (diff)
use standard plugin configuration for PubSubHubBub
Diffstat (limited to 'plugins')
-rw-r--r--plugins/PubSubHubBub/PubSubHubBubPlugin.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/PubSubHubBub/PubSubHubBubPlugin.php b/plugins/PubSubHubBub/PubSubHubBubPlugin.php
index d3ff3882f..f13408629 100644
--- a/plugins/PubSubHubBub/PubSubHubBubPlugin.php
+++ b/plugins/PubSubHubBub/PubSubHubBubPlugin.php
@@ -37,20 +37,13 @@ require_once(INSTALLDIR.'/plugins/PubSubHubBub/publisher.php');
class PubSubHubBubPlugin extends Plugin
{
- private $hub;
+ public $hub = DEFAULT_HUB;
function __construct()
{
parent::__construct();
}
- function onInitializePlugin(){
- $this->hub = common_config('PubSubHubBub', 'hub');
- if(empty($this->hub)){
- $this->hub = DEFAULT_HUB;
- }
- }
-
function onStartApiAtom($action){
$action->element('link',array('rel'=>'hub','href'=>$this->hub),null);
}