mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Fix TypeError in Profiler
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
e7377a4f2b
commit
bec51730f5
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