Merge pull request #21788 from nextcloud/debt/noid/unused-method

Remove unused method uploadFile
This commit is contained in:
Roeland Jago Douma 2020-08-13 09:40:38 +02:00 committed by GitHub
commit 34cd49827c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -429,15 +429,6 @@ class SFTP extends \OC\Files\Storage\Common {
$this->getConnection()->get($path, $target);
}
/**
* @param string $path
* @param string $target
* @throws \Exception
*/
public function uploadFile($path, $target) {
$this->getConnection()->put($target, $path, NET_SFTP_LOCAL_FILE);
}
/**
* {@inheritdoc}
*/