mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
no longer needed because we handle shadow topics as "always read" (not to be misreaded as "original topic")
git-svn-id: file:///svn/phpbb/trunk@5958 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
530b7e94c5
commit
ece0598027
1 changed files with 0 additions and 7 deletions
|
@ -251,7 +251,6 @@ if ($post_id)
|
||||||
$topic_data['prev_posts'] = $row['prev_posts'];
|
$topic_data['prev_posts'] = $row['prev_posts'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$old_forum_id = $forum_id;
|
|
||||||
$forum_id = (int) $topic_data['forum_id'];
|
$forum_id = (int) $topic_data['forum_id'];
|
||||||
$topic_id = (int) $topic_data['topic_id'];
|
$topic_id = (int) $topic_data['topic_id'];
|
||||||
|
|
||||||
|
@ -1423,12 +1422,6 @@ if (isset($user->data['session_page']) && !preg_match("#&t=$topic_id#", $user->d
|
||||||
if (isset($topic_tracking_info[$topic_id]) && $topic_data['topic_last_post_time'] > $topic_tracking_info[$topic_id])
|
if (isset($topic_tracking_info[$topic_id]) && $topic_data['topic_last_post_time'] > $topic_tracking_info[$topic_id])
|
||||||
{
|
{
|
||||||
markread('topic', $forum_id, $topic_id, $max_post_time);
|
markread('topic', $forum_id, $topic_id, $max_post_time);
|
||||||
|
|
||||||
// The topic has two different forum_id numbers, we have to update the other forum
|
|
||||||
if ($old_forum_id !== $forum_id)
|
|
||||||
{
|
|
||||||
markread('topic', $old_forum_id, $topic_id, $max_post_time);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Change encoding if appropriate
|
// Change encoding if appropriate
|
||||||
|
|
Loading…
Add table
Reference in a new issue