From 40ef561349072ccabe00a20fd60734042ae9389d Mon Sep 17 00:00:00 2001 From: rxu Date: Sun, 7 Sep 2014 18:54:34 +0800 Subject: [ticket/13050] Allow topic/forum subscription when email/jabber is off Currently, there's impossible to subscribe topic/forum if emails and/or jabber is disabled. This seems to be a 3.0 leftover since 3.1 introduces new notification system which handles this case and offers email/jabber-free board notifications. PHPBB3-13050 --- phpBB/viewtopic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/viewtopic.php') diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 3c837bd136..f8b4a54f05 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -449,7 +449,7 @@ $s_watching_topic = array( 'is_watching' => false, ); -if (($config['email_enable'] || $config['jab_enable']) && $config['allow_topic_notify']) +if ($config['allow_topic_notify']) { $notify_status = (isset($topic_data['notify_status'])) ? $topic_data['notify_status'] : null; watch_topic_forum('topic', $s_watching_topic, $user->data['user_id'], $forum_id, $topic_id, $notify_status, $start, $topic_data['topic_title']); -- cgit v1.2.1