diff options
author | David M <davidmj@users.sourceforge.net> | 2006-12-08 00:08:46 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-12-08 00:08:46 +0000 |
commit | 4519c510663b5c5168d6594d9eb96819a0c6bae0 (patch) | |
tree | 7d29f530d224b6777d5a1799c6f2192306417505 /phpBB/includes/functions_display.php | |
parent | dddffa234796608a167b2e6804baf6359633562c (diff) | |
download | forums-4519c510663b5c5168d6594d9eb96819a0c6bae0.tar forums-4519c510663b5c5168d6594d9eb96819a0c6bae0.tar.gz forums-4519c510663b5c5168d6594d9eb96819a0c6bae0.tar.bz2 forums-4519c510663b5c5168d6594d9eb96819a0c6bae0.tar.xz forums-4519c510663b5c5168d6594d9eb96819a0c6bae0.zip |
#6076
- removed unused junk from functions.php
git-svn-id: file:///svn/phpbb/trunk@6729 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r-- | phpBB/includes/functions_display.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index e875fade70..4c16029803 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -47,7 +47,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod $show_active = (isset($root_data['forum_flags']) && ($root_data['forum_flags'] & FORUM_FLAG_ACTIVE_TOPICS)) ? true : false; $sql_from = FORUMS_TABLE . ' f '; - $lastread_select = $sql_lastread = ''; + $lastread_select = ''; if ($config['load_db_lastread'] && $user->data['is_registered']) { @@ -846,8 +846,6 @@ function display_attachments($forum_id, $blockname, &$attachment_data, &$update_ $download_link = (!$force_physical && $attachment['attach_id']) ? append_sid("{$phpbb_root_path}download.$phpEx", 'id=' . $attachment['attach_id'] . '&f=' . $forum_id) : $filename; - $download_link_full = (!$force_physical && $attachment['attach_id']) ? generate_board_url() . append_sid("/download.$phpEx", 'id=' . $attachment['attach_id'] . '&f=' . $forum_id) : generate_board_url() . $filename; - switch ($display_cat) { // Images |