Merge pull request #5397 from nextcloud/stable12-5072
[stable12] Fixed a crash caused by Local::copyFromStorage() not conforming to Co…
This commit is contained in:
commit
11d9722474
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue