1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-06 22:45:02 +02:00

[ticket/15342] If the file haven't been moved, remove it from the filesystem

PHPBB3-15342
This commit is contained in:
Rubén Calvo 2018-07-01 21:41:14 +02:00
parent 78c8674643
commit 0e0e157e87

View File

@ -288,6 +288,10 @@ class filespec_storage
{
$storage->delete($this->destination_file);
}
else
{
@unlink($this->filename);
}
}
/**