[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
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
9 changed files with 10 additions and 16 deletions

View file

@ -2381,7 +2381,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll_ary, &$data
VALUES (' . $user->data['user_id'] . ', ' . $data_ary['topic_id'] . ')'; VALUES (' . $user->data['user_id'] . ', ' . $data_ary['topic_id'] . ')';
$db->sql_query($sql); $db->sql_query($sql);
} }
else if (($config['email_enable'] || $config['jab_enable']) && $data_ary['notify_set'] && !$data_ary['notify']) else if ($config['email_enable'] && $data_ary['notify_set'] && !$data_ary['notify'])
{ {
$sql = 'DELETE FROM ' . TOPICS_WATCH_TABLE . ' $sql = 'DELETE FROM ' . TOPICS_WATCH_TABLE . '
WHERE user_id = ' . $user->data['user_id'] . ' WHERE user_id = ' . $user->data['user_id'] . '

View file

@ -366,9 +366,6 @@ class phpbb_questionnaire_phpbb_data_provider
'img_max_width' => true, 'img_max_width' => true,
'img_min_thumb_filesize' => true, 'img_min_thumb_filesize' => true,
'ip_check' => true, 'ip_check' => true,
'jab_enable' => true,
'jab_package_size' => true,
'jab_use_ssl' => true,
'limit_load' => true, 'limit_load' => true,
'limit_search_load' => true, 'limit_search_load' => true,
'load_anon_lastread' => true, 'load_anon_lastread' => true,

View file

@ -64,7 +64,7 @@ class queue
/** /**
* Init a queue object * Init a queue object
* *
* @param string $object Queue object type: email/jabber/etc * @param string $object Queue object type: email/etc
* @param int $package_size Size of the messenger package to send * @param int $package_size Size of the messenger package to send
* @return void * @return void
*/ */
@ -78,7 +78,7 @@ class queue
/** /**
* Put message into the messenger file queue * Put message into the messenger file queue
* *
* @param string $object Queue object type: email/jabber/etc * @param string $object Queue object type: email/etc
* @param array $message_data Message data to send * @param array $message_data Message data to send
* @return void * @return void
*/ */

View file

@ -708,7 +708,7 @@ class manager
* *
* @param string $item_type Type identifier of the subscription * @param string $item_type Type identifier of the subscription
* @param int $item_id The id of the item * @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) * (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) * @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 string $item_type Type identifier of the subscription
* @param int $item_id The id of the item * @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) * @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) 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; use phpbb\user_loader;
/** /**
* Abstract notification method handling email and jabber notifications * Abstract notification method handling messenger notifications
* using the phpBB messenger. * using the phpBB messenger.
*/ */
abstract class messenger_base extends \phpbb\notification\method\base 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) * {@inheritDoc}
*
* @param string|bool $method Method name to unsubscribe from (email|jabber|etc), False to unsubscribe from all notifications for this item
* @return false
*/ */
public function get_unsubscribe_url($method = false) public function get_unsubscribe_url($method = false)
{ {

View file

@ -132,7 +132,7 @@ interface type_interface
/** /**
* URL to unsubscribe to this notification * 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); public function get_unsubscribe_url($method);

View file

@ -70,7 +70,7 @@
<!-- IF REMAINDER eq 0 --> <!-- IF REMAINDER eq 0 -->
<div> <div>
<!-- ENDIF --> <!-- ENDIF -->
<a href="<!-- IF contact.U_CONTACT -->{contact.U_CONTACT}<!-- ELSE -->{contact.U_PROFILE_AUTHOR}<!-- ENDIF -->" title="{contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF --><!-- IF contact.ID eq 'jabber' --> onclick="popup(this.href, 750, 320); return false;"<!-- ENDIF -->> <a href="<!-- IF contact.U_CONTACT -->{contact.U_CONTACT}<!-- ELSE -->{contact.U_PROFILE_AUTHOR}<!-- ENDIF -->" title="{contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF -->>
{% if contact.ID == 'pm' %} {% if contact.ID == 'pm' %}
{{ Icon('font', 'message', '', true, 'far contact-icon') }} {{ Icon('font', 'message', '', true, 'far contact-icon') }}
{% elseif contact.ID == 'email' %} {% elseif contact.ID == 'email' %}

View file

@ -191,7 +191,7 @@
<!-- IF REMAINDER eq 0 --> <!-- IF REMAINDER eq 0 -->
<div> <div>
<!-- ENDIF --> <!-- ENDIF -->
<a href="<!-- IF postrow.contact.U_CONTACT -->{postrow.contact.U_CONTACT}<!-- ELSE -->{postrow.U_POST_AUTHOR}<!-- ENDIF -->" title="{postrow.contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF --><!-- IF postrow.contact.ID eq 'jabber' --> onclick="popup(this.href, 750, 320); return false;"<!-- ENDIF -->> <a href="<!-- IF postrow.contact.U_CONTACT -->{postrow.contact.U_CONTACT}<!-- ELSE -->{postrow.U_POST_AUTHOR}<!-- ENDIF -->" title="{postrow.contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF -->>
{% EVENT viewtopic_body_contact_icon_prepend %} {% EVENT viewtopic_body_contact_icon_prepend %}
{% if postrow.contact.ID == 'pm' %} {% if postrow.contact.ID == 'pm' %}
{{ Icon('font', 'message', '', true, 'far contact-icon') }} {{ Icon('font', 'message', '', true, 'far contact-icon') }}