mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
merge...
git-svn-id: file:///svn/phpbb/trunk@8610 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -451,9 +451,16 @@ $s_watching_topic = array(
|
||||
'is_watching' => false,
|
||||
);
|
||||
|
||||
if ($config['email_enable'] && $config['allow_topic_notify'] && $user->data['is_registered'])
|
||||
if (($config['email_enable'] || $config['jab_enable']) && $config['allow_topic_notify'] && $user->data['is_registered'])
|
||||
{
|
||||
watch_topic_forum('topic', $s_watching_topic, $user->data['user_id'], $forum_id, $topic_id, $topic_data['notify_status'], $start);
|
||||
|
||||
// Reset forum notification if forum notify is set
|
||||
if ($config['allow_forum_notify'] && $auth->acl_get('f_subscribe', $forum_id))
|
||||
{
|
||||
$s_watching_forum = $s_watching_topic;
|
||||
watch_topic_forum('forum', $s_watching_forum, $user->data['user_id'], $forum_id, 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Bookmarks
|
||||
|
Reference in New Issue
Block a user