|
@@ -607,7 +607,7 @@ class Request
|
|
|
public function __destruct()
|
|
public function __destruct()
|
|
|
{
|
|
{
|
|
|
if (isset($this->_data['files'])) {
|
|
if (isset($this->_data['files'])) {
|
|
|
- \clearstatecache();
|
|
|
|
|
|
|
+ \clearstatcache();
|
|
|
foreach ($this->_data['files'] as $item) {
|
|
foreach ($this->_data['files'] as $item) {
|
|
|
if (\is_file($item['tmp_name'])) {
|
|
if (\is_file($item['tmp_name'])) {
|
|
|
\unlink($item['tmp_name']);
|
|
\unlink($item['tmp_name']);
|