-
Bug
-
Resolution: Fixed
-
Minor
-
3.1.0-dev
-
None
class phpbb_notification_method_email extends phpbb_notification_method_base
|
{
|
/**
|
* Get notification method name
|
*
|
* @return string
|
*/
|
public function get_type()
|
{
|
return 'email';
|
}
|
|
/**
|
* Is this method available for the user?
|
* This is checked on the notifications options
|
*/
|
public function is_available()
|
{
|
return (bool) $this->config['email_enable'];
|
}
|
class phpbb_notification_method_jabber extends phpbb_notification_method_messenger_base
|
{
|
/**
|
* Get notification method name
|
*
|
* @return string
|
*/
|
public function get_type()
|
{
|
return 'jabber';
|
}
|
|
/**
|
* Is this method available for the user?
|
* This is checked on the notifications options
|
*/
|
public function is_available()
|
{
|
return ($this->global_available() && $this->user->data['user_jabber']);
|
}
|