From: Daniel Kesselberg Date: Fri, 10 Jul 2020 11:32:31 +0000 (+0200) Subject: Remove unused method uploadFile X-Git-Tag: v20.0.0beta1~78^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F21788%2Fhead;p=nextcloud-server.git Remove unused method uploadFile Signed-off-by: Daniel Kesselberg --- diff --git a/apps/files_external/lib/Lib/Storage/SFTP.php b/apps/files_external/lib/Lib/Storage/SFTP.php index bc6cd663b6d..d1aea027cee 100644 --- a/apps/files_external/lib/Lib/Storage/SFTP.php +++ b/apps/files_external/lib/Lib/Storage/SFTP.php @@ -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} */