diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2003-10-11 11:46:29 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-10-11 11:46:29 +0000 |
commit | 8f4967a2289d65f4539ec8eb593eda5fb9200e35 (patch) | |
tree | e04cb7995057239b3f25d0f21607059bc89de334 /phpBB/includes/functions_posting.php | |
parent | ee056e09f7b4f9aed729851c5fcb4ff34bfffc80 (diff) | |
download | forums-8f4967a2289d65f4539ec8eb593eda5fb9200e35.tar forums-8f4967a2289d65f4539ec8eb593eda5fb9200e35.tar.gz forums-8f4967a2289d65f4539ec8eb593eda5fb9200e35.tar.bz2 forums-8f4967a2289d65f4539ec8eb593eda5fb9200e35.tar.xz forums-8f4967a2289d65f4539ec8eb593eda5fb9200e35.zip |
re-add quote button. ;)
git-svn-id: file:///svn/phpbb/trunk@4551 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index f27f3d03a2..a09ff7c310 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -130,7 +130,7 @@ function format_display(&$message, &$signature, $uid, $siguid, $html, $bbcode, $ } // Update Last Post Informations -function update_last_post_information($type, $id, &$parent_sql) +function update_last_post_information($type, $id) { global $db; @@ -179,26 +179,6 @@ function update_last_post_information($type, $id, &$parent_sql) $update_sql[] = 'forum_last_poster_id = 0'; $update_sql[] = "forum_last_poster_name = ''"; } -/* - // Return 'Udate all Parents' information - // Not able to test this, since subforums seems to be broken - if ($type == 'forum') - { - $forum_parents = get_forum_branch($id, 'parents', 'descending', FALSE); - $forum_ids = array(); - foreach ($forum_parents as $row) - { - $forum_ids[] = (int) $row['forum_id']; - } - - if (sizeof($forum_ids)) - { - $parent_sql[] = 'UPDATE ' . FORUMS_TABLE . ' - SET ' . implode(', ', $update_sql) . ' - WHERE forum_id IN (' . implode(', ', $forum_ids) . ')'; - } - } -*/ return $update_sql; } |