mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00: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
1 changed files with 4 additions and 0 deletions
|
@ -288,6 +288,10 @@ class filespec_storage
|
||||||
{
|
{
|
||||||
$storage->delete($this->destination_file);
|
$storage->delete($this->destination_file);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
@unlink($this->filename);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue