mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:01:55 +02:00
[ticket/11103] Jabber notification method base
PHPBB3-11103
This commit is contained in:
36
phpBB/includes/notifications/method/jabber.php
Normal file
36
phpBB/includes/notifications/method/jabber.php
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package notifications
|
||||||
|
* @copyright (c) 2012 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Jabber notification method class
|
||||||
|
* This class handles sending Jabber notifications for notifications
|
||||||
|
*
|
||||||
|
* @package notifications
|
||||||
|
*/
|
||||||
|
class phpbb_notifications_method_jabber extends phpbb_notifications_method_base
|
||||||
|
{
|
||||||
|
public static function is_available()
|
||||||
|
{
|
||||||
|
// Is jabber enabled & can this user receive jabber messages?
|
||||||
|
return false; // for now
|
||||||
|
}
|
||||||
|
|
||||||
|
public function notify()
|
||||||
|
{
|
||||||
|
// message the user
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user