Fixed a crash caused by Local::copyFromStorage() not conforming to Common::copyFromStorage. Issue# 5071

This commit is contained in:
Michael Munger 2017-05-23 10:29:30 -04:00 committed by Morris Jobke
parent d4eb5cfecb
commit 513401bdb6
1 changed files with 1 additions and 1 deletions

View File

@ -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