Rename Phergie_Plugin_Statusnet_Callback to Phergie_Plugin_StatusnetCallback

This commit is contained in:
Luke Fitzgerald 2010-07-21 07:37:10 -07:00
parent 2e9da023c0
commit 3cb51e182b
2 changed files with 4 additions and 4 deletions

View File

@ -19,14 +19,14 @@
* a new incoming message
*
* @category Phergie
* @package Phergie_Plugin_Statusnet_Callback
* @package Phergie_Plugin_StatusnetCallback
* @author Luke Fitzgerald <lw.fitzgerald@googlemail.com>
* @copyright 2010 StatusNet, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
* @link http://status.net/
*/
class Phergie_Plugin_Statusnet_Callback extends Phergie_Plugin_Abstract {
class Phergie_Plugin_StatusnetCallback extends Phergie_Plugin_Abstract {
/**
* Callback details
*
@ -38,7 +38,7 @@ class Phergie_Plugin_Statusnet_Callback extends Phergie_Plugin_Abstract {
* Load callback from config
*/
public function onLoad() {
$callback = $this->config['statusnet_callback.callback'];
$callback = $this->config['statusnetcallback.callback'];
if (is_callable($callback)) {
$this->callback = $callback;
} else {

View File

@ -123,7 +123,7 @@ class IrcManager extends ImManager {
'nickserv.password' => $nickservpassword,
'autojoin.channels' => $channels,
'statusnet_callback.callback' => array($this, 'handle_irc_message')
'statusnetcallback.callback' => array($this, 'handle_irc_message')
)
);