1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-04 14:47:52 +02:00

[ticket/12778] Automatically delete files on update

PHPBB3-12778
This commit is contained in:
Dhruv 2014-08-07 15:49:41 +02:00
parent ef26a6fd64
commit 07a92d29df

View File

@ -1063,6 +1063,14 @@ class install_update extends module
$transfer->write_file($file_struct['filename'], $contents);
}
break;
case 'deleted':
if ($update_mode != 'download')
{
$transfer->delete_file($file_struct['filename']);
}
break;
}
}
}