Skip to content

Commit

Permalink
Use proper storage method for writing skeleton files
Browse files Browse the repository at this point in the history
otherwise the filecache will have a wrong size for skeleton files

Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Oct 14, 2022
1 parent dc4f59c commit cca0b2b
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit cca0b2b

Please sign in to comment.