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
Use proper storage method for writing skeleton files
otherwise the filecache will have a wrong size for skeleton files

Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Oct 27, 2022
commit 5e416c529e7b4370d3ae2f191535b768bfca6941
2 changes: 1 addition & 1 deletion lib/private/legacy/OC_Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public static function copyr($source, \OCP\Files\Folder $target) {
closedir($dir);
return;
}
stream_copy_to_stream($sourceStream, $child->fopen('w'));
$child->putContent($sourceStream);
}
}
}
Expand Down