diff --git a/apps/files_external/lib/sftp.php b/apps/files_external/lib/sftp.php index e3689b751c..cd8a0e7886 100644 --- a/apps/files_external/lib/sftp.php +++ b/apps/files_external/lib/sftp.php @@ -226,14 +226,6 @@ class SFTP extends \OC\Files\Storage\Common { return false; } - public function writeBack($tmpFile) { - if (array_key_exists($tmpFile, self::$tempFiles)) { - $this->uploadFile($tmpFile, self::$tempFiles[$tmpFile]); - unlink($tmpFile); - unset(self::$tempFiles[$tmpFile]); - } - } - public function touch($path, $mtime=null) { try { if (!is_null($mtime)) {