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 b5b7a41948
commit d485db32bc
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View file

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