Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix TypeError in Profiler
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc authored and backportbot-nextcloud[bot] committed Apr 20, 2023
commit 3d5de933001d1718e907a43df162d56ed54b8a54
2 changes: 1 addition & 1 deletion lib/private/Profiler/FileProfilerStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function purge(): void {
$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 {
Expand Down