mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix TypeError in Profiler
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
c85c04e4a8
commit
e91e7bc60f
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class FileProfilerStorage {
|
|||
$iterator = new \RecursiveIteratorIterator($iterator, \RecursiveIteratorIterator::CHILD_FIRST);
|
||||
|
||||
foreach ($iterator as $file) {
|
||||
$file = $file->getPathInfo();
|
||||
$file = (string)$file->getPathInfo();
|
||||
if (is_file($file)) {
|
||||
unlink($file);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue