From 3cb51e182b014b0631b805376d1f673fe61f4ff0 Mon Sep 17 00:00:00 2001 From: Luke Fitzgerald Date: Wed, 21 Jul 2010 07:37:10 -0700 Subject: [PATCH] Rename Phergie_Plugin_Statusnet_Callback to Phergie_Plugin_StatusnetCallback --- .../{Statusnet_Callback.php => StatusnetCallback.php} | 6 +++--- plugins/Irc/ircmanager.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename plugins/Irc/extlib/phergie/Phergie/Plugin/{Statusnet_Callback.php => StatusnetCallback.php} (87%) diff --git a/plugins/Irc/extlib/phergie/Phergie/Plugin/Statusnet_Callback.php b/plugins/Irc/extlib/phergie/Phergie/Plugin/StatusnetCallback.php similarity index 87% rename from plugins/Irc/extlib/phergie/Phergie/Plugin/Statusnet_Callback.php rename to plugins/Irc/extlib/phergie/Phergie/Plugin/StatusnetCallback.php index 7bc287714b..545ee343b8 100644 --- a/plugins/Irc/extlib/phergie/Phergie/Plugin/Statusnet_Callback.php +++ b/plugins/Irc/extlib/phergie/Phergie/Plugin/StatusnetCallback.php @@ -19,14 +19,14 @@ * a new incoming message * * @category Phergie - * @package Phergie_Plugin_Statusnet_Callback + * @package Phergie_Plugin_StatusnetCallback * @author Luke Fitzgerald * @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 { diff --git a/plugins/Irc/ircmanager.php b/plugins/Irc/ircmanager.php index ea98263a53..480d4c8f6c 100644 --- a/plugins/Irc/ircmanager.php +++ b/plugins/Irc/ircmanager.php @@ -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') ) ); -- 2.39.5