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:
parent
78c8674643
commit
0e0e157e87
@ -288,6 +288,10 @@ class filespec_storage
|
||||
{
|
||||
$storage->delete($this->destination_file);
|
||||
}
|
||||
else
|
||||
{
|
||||
@unlink($this->filename);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user