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 <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2022-10-14 23:44:29 +02:00
parent 71493433b8
commit 5e416c529e
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View file

@ -255,7 +255,7 @@ class OC_Util {
closedir($dir);
return;
}
stream_copy_to_stream($sourceStream, $child->fopen('w'));
$child->putContent($sourceStream);
}
}
}