mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #37834 from nextcloud/fix/profiler-fix-typeerror
Fix TypeError in Profiler
This commit is contained in:
commit
494ff0c142
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