1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-15 21:44:56 +01:00

lastread stuff is just causing too many problems with repeated forums at present - disabling till fixed

git-svn-id: file:///svn/phpbb/trunk@3350 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2003-01-22 15:06:11 +00:00
parent c1a478005a
commit 85c4ee575c

View File

@ -33,7 +33,7 @@ function display_forums($root_data = '', $display_moderators = TRUE)
$where_sql = ' WHERE left_id > ' . $root_data['left_id'] . ' AND left_id < ' . $root_data['right_id'];
}
if ($user->data['user_id'] != ANONYMOUS)
/* if ($user->data['user_id'] != ANONYMOUS)
{
$lastread_select = ", lr.lastread_time";
$lastread_sql = "
@ -46,10 +46,10 @@ function display_forums($root_data = '', $display_moderators = TRUE)
//$where_sql .= ' GROUP BY f.forum_id';
}
else
{
{*/
$lastread_select = '';
$lastread_sql = '';
}
// }
$sql = 'SELECT f.* ' . $lastread_select . '
FROM ' . FORUMS_TABLE . " f " .