diff options
author | Craig Andrews <candrews@integralblue.com> | 2010-08-31 00:08:28 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2010-09-03 17:50:28 -0400 |
commit | a70cceadddef24dd7ca79e5809bdfc8c263d105f (patch) | |
tree | 56421f49efc5300de0151efb89fa7c1c7350ca7a | |
parent | 1eccd2a4bd16ec03527407faa5b87982ab212852 (diff) |
send_confirmation_code -> sendConfirmationCode
-rw-r--r-- | lib/implugin.php | 4 | ||||
-rw-r--r-- | plugins/Irc/IrcPlugin.php | 6 | ||||
-rw-r--r-- | plugins/Irc/ircmanager.php | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/implugin.php b/lib/implugin.php index 65dc559f9..84e0777b6 100644 --- a/lib/implugin.php +++ b/lib/implugin.php @@ -261,7 +261,7 @@ abstract class ImPlugin extends Plugin * * @return boolean success value */ - function send_confirmation_code($screenname, $code, $user) + function sendConfirmationCode($screenname, $code, $user) { $body = sprintf(_('User "%s" on %s has said that your %s screenname belongs to them. ' . 'If that\'s true, you can confirm by clicking on this URL: ' . @@ -606,7 +606,7 @@ abstract class ImPlugin extends Plugin { if($transport == $this->transport) { - $this->send_confirmation_code($screenname, $code, $user); + $this->sendConfirmationCode($screenname, $code, $user); return false; } } diff --git a/plugins/Irc/IrcPlugin.php b/plugins/Irc/IrcPlugin.php index f6aa09d5f..a5a343e02 100644 --- a/plugins/Irc/IrcPlugin.php +++ b/plugins/Irc/IrcPlugin.php @@ -289,7 +289,7 @@ class IrcPlugin extends ImPlugin { * @param User $user user sending to * @return boolean success value */ - public function send_confirmation_code($screenname, $code, $user, $checked = false) { + public function sendConfirmationCode($screenname, $code, $user, $checked = false) { $body = sprintf(_('User "%s" on %s has said that your %s screenname belongs to them. ' . 'If that\'s true, you can confirm by clicking on this URL: ' . '%s' . @@ -299,7 +299,7 @@ class IrcPlugin extends ImPlugin { $user->nickname, common_config('site', 'name'), $this->getDisplayName(), common_local_url('confirmaddress', array('code' => $code))); if ($this->regcheck && !$checked) { - return $this->checked_send_confirmation_code($screenname, $code, $user); + return $this->checked_sendConfirmationCode($screenname, $code, $user); } else { return $this->sendMessage($screenname, $body); } @@ -314,7 +314,7 @@ class IrcPlugin extends ImPlugin { * @param User $user User sending to * @return boolean true on succes */ - public function checked_send_confirmation_code($screenname, $code, $user) { + public function checked_sendConfirmationCode($screenname, $code, $user) { $this->fake_irc->doPrivmsg('NickServ', 'INFO '.$screenname); $this->enqueueOutgoingRaw( array( diff --git a/plugins/Irc/ircmanager.php b/plugins/Irc/ircmanager.php index 9ffe1865e..606629331 100644 --- a/plugins/Irc/ircmanager.php +++ b/plugins/Irc/ircmanager.php @@ -229,7 +229,7 @@ class IrcManager extends ImManager { if (isset($this->regChecksLookup[$usernick])) { if ($data['registered']) { // Send message - $this->plugin->send_confirmation_code($screenname, $nickdata['code'], $nickdata['user'], true); + $this->plugin->sendConfirmationCode($screenname, $nickdata['code'], $nickdata['user'], true); } else { $this->plugin->sendMessage($screenname, _m('Your nickname is not registered so IRC connectivity cannot be enabled')); |