diff options
author | Michael Munger <michael@highpoweredhelp.com> | 2017-05-23 10:29:30 -0400 |
---|---|---|
committer | Michael Munger <michael@highpoweredhelp.com> | 2017-05-23 10:29:30 -0400 |
commit | b8f2418248312826f1ccb9d7cf942f8844e02f7b (patch) | |
tree | c07d81ae4ae2c66d369659d538b749927884ba9f /lib | |
parent | 30ac7ec2bfd0b98a3ddd0ce332775d62ec4cf3ba (diff) | |
download | nextcloud-server-b8f2418248312826f1ccb9d7cf942f8844e02f7b.tar.gz nextcloud-server-b8f2418248312826f1ccb9d7cf942f8844e02f7b.zip |
Fixed a crash caused by Local::copyFromStorage() not conforming to Common::copyFromStorage. Issue# 5071
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Storage/Local.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php index 4eb9fb13deb..70cb2e0ccc4 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -409,7 +409,7 @@ class Local extends \OC\Files\Storage\Common { * @param string $targetInternalPath * @return bool */ - public function copyFromStorage(\OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath) { + public function copyFromStorage(\OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath, $preserveMtime = false) { if ($sourceStorage->instanceOfStorage('\OC\Files\Storage\Local')) { /** * @var \OC\Files\Storage\Local $sourceStorage |