| @@ 478-484 (lines=7) @@ | ||
| 475 | return false; |
|
| 476 | } |
|
| 477 | ||
| 478 | foreach ($files as $file) { |
|
| 479 | if (is_file($file) && strrpos($file, DS . 'empty') !== strlen($file) - 6) { |
|
| 480 | //@codingStandardsIgnoreStart |
|
| 481 | @unlink($file); |
|
| 482 | //@codingStandardsIgnoreEnd |
|
| 483 | } |
|
| 484 | } |
|
| 485 | return true; |
|
| 486 | } |
|
| 487 | $cache = array( |
|
| @@ 501-507 (lines=7) @@ | ||
| 498 | if (empty($files)) { |
|
| 499 | return false; |
|
| 500 | } |
|
| 501 | foreach ($files as $file) { |
|
| 502 | if (is_file($file) && strrpos($file, DS . 'empty') !== strlen($file) - 6) { |
|
| 503 | //@codingStandardsIgnoreStart |
|
| 504 | @unlink($file); |
|
| 505 | //@codingStandardsIgnoreEnd |
|
| 506 | } |
|
| 507 | } |
|
| 508 | return true; |
|
| 509 | ||
| 510 | } elseif (is_array($params)) { |
|