diff options
author | Bart van Bragt <bartvb@users.sourceforge.net> | 2002-11-27 13:24:46 +0000 |
---|---|---|
committer | Bart van Bragt <bartvb@users.sourceforge.net> | 2002-11-27 13:24:46 +0000 |
commit | 831c9b5a611e2591e3b79170b4e487241e2d9595 (patch) | |
tree | 6b8478fa295f93add8428c3e2ab93d3037e62a39 /phpBB/viewtopic.php | |
parent | 16e8fb800fb3b72d1c87fca829faab1cbb668f25 (diff) | |
download | forums-831c9b5a611e2591e3b79170b4e487241e2d9595.tar forums-831c9b5a611e2591e3b79170b4e487241e2d9595.tar.gz forums-831c9b5a611e2591e3b79170b4e487241e2d9595.tar.bz2 forums-831c9b5a611e2591e3b79170b4e487241e2d9595.tar.xz forums-831c9b5a611e2591e3b79170b4e487241e2d9595.zip |
Initial Lastread support. Mind the schema and config changes\!
git-svn-id: file:///svn/phpbb/trunk@3102 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 8784e2ee91..9a955e6c2f 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -896,6 +896,8 @@ else trigger_error($user->lang['No_posts_topic']); } +markread('topic', $forum_id, $topic_id, $forum_topic_data['topic_last_post_id']); + // Output the page $page_title = $user->lang['View_topic'] .' - ' . $topic_title; include($phpbb_root_path . 'includes/page_header.'.$phpEx); @@ -913,4 +915,4 @@ $db->sql_query($sql); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); -?>
\ No newline at end of file +?> |