Remove unused method uploadFile

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2020-07-10 13:32:31 +02:00 committed by Roeland Jago Douma
parent 3a39f2ae91
commit ba3a855ad8
No known key found for this signature in database
GPG Key ID: F941078878347C0C
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}
*/