mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11103] Jabber notification method base
PHPBB3-11103
This commit is contained in:
parent
7fee0cfdf6
commit
a4eb8bf47a
1 changed files with 36 additions and 0 deletions
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
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue