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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user