Merge pull request #21788 from nextcloud/debt/noid/unused-method
Remove unused method uploadFile
This commit is contained in:
commit
34cd49827c
|
@ -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}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue