mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00: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:
parent
c1a478005a
commit
85c4ee575c
1 changed files with 3 additions and 3 deletions
|
@ -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'];
|
$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_select = ", lr.lastread_time";
|
||||||
$lastread_sql = "
|
$lastread_sql = "
|
||||||
|
@ -46,10 +46,10 @@ function display_forums($root_data = '', $display_moderators = TRUE)
|
||||||
//$where_sql .= ' GROUP BY f.forum_id';
|
//$where_sql .= ' GROUP BY f.forum_id';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{*/
|
||||||
$lastread_select = '';
|
$lastread_select = '';
|
||||||
$lastread_sql = '';
|
$lastread_sql = '';
|
||||||
}
|
// }
|
||||||
|
|
||||||
$sql = 'SELECT f.* ' . $lastread_select . '
|
$sql = 'SELECT f.* ' . $lastread_select . '
|
||||||
FROM ' . FORUMS_TABLE . " f " .
|
FROM ' . FORUMS_TABLE . " f " .
|
||||||
|
|
Loading…
Add table
Reference in a new issue