diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-22 15:06:11 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-22 15:06:11 +0000 |
commit | 85c4ee575c295211bbe62b5eba6efec8f41fddb7 (patch) | |
tree | 3b9e0181065b2e9795d48eeca67ecb761bdaec8b | |
parent | c1a478005a03fef3143c4e2cd418bd9bf68aa80d (diff) | |
download | forums-85c4ee575c295211bbe62b5eba6efec8f41fddb7.tar forums-85c4ee575c295211bbe62b5eba6efec8f41fddb7.tar.gz forums-85c4ee575c295211bbe62b5eba6efec8f41fddb7.tar.bz2 forums-85c4ee575c295211bbe62b5eba6efec8f41fddb7.tar.xz forums-85c4ee575c295211bbe62b5eba6efec8f41fddb7.zip |
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
-rw-r--r-- | phpBB/includes/functions_display.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 0f8e1ef4f4..bb987fcbf1 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -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 " . |