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

no longer supporting ftp upload

git-svn-id: file:///svn/phpbb/trunk@4502 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2003-09-15 21:02:10 +00:00
parent 9ce85a9065
commit d065b8ea1e
2 changed files with 13 additions and 12 deletions

View File

@@ -550,10 +550,10 @@ function delete_attachments($post_id_array = -1, $attach_id_array = -1, $page =
// delete attachments
while ($row = $db->sql_fetchrow($result))
{
phpbb_unlink($row['physical_filename'], 'file', $config['use_ftp_upload']);
phpbb_unlink($row['physical_filename'], 'file');
if ($row['thumbnail'])
{
phpbb_unlink($row['physical_filename'], 'thumbnail', $config['use_ftp_upload']);
phpbb_unlink($row['physical_filename'], 'thumbnail');
}
$sql = 'DELETE FROM ' . ATTACHMENTS_DESC_TABLE . '