mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 11:13:59 +02:00
re-display download notice
git-svn-id: file:///svn/phpbb/trunk@4401 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1701,32 +1701,31 @@ function user_notification($mode, $subject, $forum_id, $topic_id, $post_id)
|
||||
}
|
||||
unset($email_list_ary);
|
||||
|
||||
if (sizeof($delete_ids))
|
||||
{
|
||||
$sql = "DELETE FROM " . TOPICS_WATCH_TABLE . "
|
||||
WHERE topic_id = $topic_id
|
||||
AND user_id IN (" . implode(', ', $delete_ids) . ")";
|
||||
$db->sql_query($sql);
|
||||
}
|
||||
|
||||
|
||||
if ($update_watched_sql_topic != '')
|
||||
{
|
||||
$sql = "UPDATE " . TOPICS_WATCH_TABLE . "
|
||||
$sql = 'UPDATE ' . TOPICS_WATCH_TABLE . "
|
||||
SET notify_status = 1
|
||||
WHERE topic_id = " . $topic_id . "
|
||||
WHERE topic_id = $topic_id
|
||||
AND user_id IN (" . $update_watched_sql_topic . ")";
|
||||
$db->sql_query($sql);
|
||||
}
|
||||
|
||||
if ($update_watched_sql_forum != '')
|
||||
{
|
||||
$sql = "UPDATE " . FORUMS_WATCH_TABLE . "
|
||||
$sql = 'UPDATE ' . FORUMS_WATCH_TABLE . "
|
||||
SET notify_status = 1
|
||||
WHERE forum_id = " . $forum_id . "
|
||||
WHERE forum_id = $forum_id
|
||||
AND user_id IN (" . $update_watched_sql_forum . ")";
|
||||
$db->sql_query($sql);
|
||||
}
|
||||
|
||||
if (sizeof($delete_ids))
|
||||
{
|
||||
$sql = "DELETE FROM " . TOPICS_WATCH_TABLE . "
|
||||
WHERE topic_id = $topic_id
|
||||
AND user_id IN (" . implode(', ', $delete_ids) . ")";
|
||||
$db->sql_query($sql);
|
||||
}
|
||||
}
|
||||
|
||||
// Topic Review
|
||||
|
Reference in New Issue
Block a user