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 Nov 9, 2022
commit 6ded6afa970bc95b39cb65d380aaa40d996575f7
2 changes: 1 addition & 1 deletion lib/private/legacy/OC_Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,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