From: Craig Andrews Date: Fri, 3 Sep 2010 21:49:13 +0000 (-0400) Subject: set_notify -> setNotify X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f7c46effa21e6ea04b8d7cbb81501009b9f534ce;p=quix0rs-gnu-social.git set_notify -> setNotify --- diff --git a/lib/channel.php b/lib/channel.php index e83960ac54..5b38a4b6ae 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 18ba3f55f0..61355a429c 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;