1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

re-use include...

git-svn-id: file:///svn/phpbb/trunk@3813 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2003-04-11 06:07:58 +00:00
parent 4f55c9fb81
commit 4feb08390c
5 changed files with 12 additions and 13 deletions

View File

@@ -1156,13 +1156,11 @@ else
// so go ahead and reset post_attach flags
if ( (sizeof($attach_list)) && (count($attachments) == 0) )
{
echo "DELETE THOSE STUFF";
/*
$sql = "UPDATE " . POSTS_TABLE . "
SET post_attachment = 0
WHERE post_id IN (" . implode(', ', $attach_list) . ")";
$db->sql_query($sql);
*/
// We need to update the topic indicator too if the
// complete topic is now without an attachment
}