]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove unused method uploadFile 21788/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Fri, 10 Jul 2020 11:32:31 +0000 (13:32 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 13 Aug 2020 06:02:28 +0000 (08:02 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
apps/files_external/lib/Lib/Storage/SFTP.php

index bc6cd663b6d3d01dce65795860e0d1d1e357a5a1..d1aea027cee836ec550082d2485051b6b07bd60f 100644 (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}
         */