set_notify -> setNotify

This commit is contained in:
Craig Andrews 2010-09-03 17:49:13 -04:00
parent 44f1b94301
commit f7c46effa2
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;