1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

[ticket/17493] Remove more jabber remainders

PHPBB-17493
This commit is contained in:
Marc Alexander
2025-04-24 17:32:04 +02:00
parent 75a24ae484
commit 83508b415b
9 changed files with 10 additions and 16 deletions

View File

@@ -708,7 +708,7 @@ class manager
*
* @param string $item_type Type identifier of the subscription
* @param int $item_id The id of the item
* @param string $method The method of the notification e.g. 'board', 'email', or 'jabber'
* @param string $method The method of the notification e.g. 'board', 'email'
* (if null a subscription will be added for all the defaults methods)
* @param bool|int $user_id The user_id to add the subscription for (bool false for current user)
*/
@@ -765,7 +765,7 @@ class manager
*
* @param string $item_type Type identifier of the subscription
* @param int $item_id The id of the item
* @param string $method The method of the notification e.g. 'board', 'email', or 'jabber'
* @param string $method The method of the notification e.g. 'board', 'email'
* @param bool|int $user_id The user_id to add the subscription for (bool false for current user)
*/
public function delete_subscription($item_type, $item_id = 0, $method = null, $user_id = false)

View File

@@ -18,7 +18,7 @@ use phpbb\di\service_collection;
use phpbb\user_loader;
/**
* Abstract notification method handling email and jabber notifications
* Abstract notification method handling messenger notifications
* using the phpBB messenger.
*/
abstract class messenger_base extends \phpbb\notification\method\base

View File

@@ -327,10 +327,7 @@ abstract class base implements \phpbb\notification\type\type_interface
*/
/**
* URL to unsubscribe to this notification (fall back)
*
* @param string|bool $method Method name to unsubscribe from (email|jabber|etc), False to unsubscribe from all notifications for this item
* @return false
* {@inheritDoc}
*/
public function get_unsubscribe_url($method = false)
{

View File

@@ -132,7 +132,7 @@ interface type_interface
/**
* URL to unsubscribe to this notification
*
* @param string|bool $method Method name to unsubscribe from (email|jabber|etc), False to unsubscribe from all notifications for this item
* @param string|bool $method Method name to unsubscribe from (email|etc), False to unsubscribe from all notifications for this item
*/
public function get_unsubscribe_url($method);