diff options
author | Craig Andrews <candrews@integralblue.com> | 2010-09-03 17:49:13 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2010-09-03 17:50:29 -0400 |
commit | f7c46effa21e6ea04b8d7cbb81501009b9f534ce (patch) | |
tree | ce73aa3f2d3f32caa8973566a5c9ea8fb431959e | |
parent | 44f1b943016cb1a75153768838622c348238aaa1 (diff) |
set_notify -> setNotify
-rw-r--r-- | lib/channel.php | 6 | ||||
-rw-r--r-- | lib/imchannel.php | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/channel.php b/lib/channel.php index e83960ac5..5b38a4b6a 100644 --- a/lib/channel.php +++ b/lib/channel.php @@ -155,12 +155,12 @@ class MailChannel extends Channel function on($user) { - return $this->set_notify($user, 1); + return $this->setNotify($user, 1); } function off($user) { - return $this->set_notify($user, 0); + return $this->setNotify($user, 0); } function output($user, $text) @@ -185,7 +185,7 @@ class MailChannel extends Channel return mail_send(array($this->addr), $headers, $text); } - function set_notify($user, $value) + function setNotify($user, $value) { $orig = clone($user); $user->smsnotify = $value; diff --git a/lib/imchannel.php b/lib/imchannel.php index 18ba3f55f..61355a429 100644 --- a/lib/imchannel.php +++ b/lib/imchannel.php @@ -36,12 +36,12 @@ class IMChannel extends Channel function on($user) { - return $this->set_notify($user, 1); + return $this->setNotify($user, 1); } function off($user) { - return $this->set_notify($user, 0); + return $this->setNotify($user, 0); } function output($user, $text) @@ -66,7 +66,7 @@ class IMChannel extends Channel } } - function set_notify($user, $notify) + function setNotify($user, $notify) { $user_im_prefs = new User_im_prefs(); $user_im_prefs->transport = $this->imPlugin->transport; |