summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-11-14 16:40:40 +0100
committerGitHub <noreply@github.com>2022-11-14 16:40:40 +0100
commit1a75cc19c8ca3d040a710ea4f4e6df7173500af1 (patch)
tree4bf01d710b28d582720294fa5e129928f0a185e3 /lib
parentf9459b0e2defc3d1c5d7a8b7543de962799a4372 (diff)
parentd485db32bc448df3f98faa587875d2ebf152e638 (diff)
downloadnextcloud-server-1a75cc19c8ca3d040a710ea4f4e6df7173500af1.tar.gz
nextcloud-server-1a75cc19c8ca3d040a710ea4f4e6df7173500af1.zip
Merge pull request #35048 from nextcloud/backport/34834/stable25
[stable25] Fix size calculation on copying the skeleton files
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/OC_Util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php
index bf9ed6e29ff..88cd6baddc5 100644
--- a/lib/private/legacy/OC_Util.php
+++ b/lib/private/legacy/OC_Util.php
@@ -254,7 +254,7 @@ class OC_Util {
closedir($dir);
return;
}
- stream_copy_to_stream($sourceStream, $child->fopen('w'));
+ $child->putContent($sourceStream);
}
}
}