Remove unused method uploadFile
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
3a39f2ae91
commit
ba3a855ad8
|
@ -429,15 +429,6 @@ class SFTP extends \OC\Files\Storage\Common {
|
||||||
$this->getConnection()->get($path, $target);
|
$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}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue