diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-01-23 15:05:05 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-01-23 15:05:05 +0100 |
commit | bf95532fb62b54842824b21b78d3dc8cf18023e6 (patch) | |
tree | 4bfa2ef4be4f1ce6587fe85719b5edf9ea2fb948 /apps/files_external | |
parent | 421f24868a8cd5bdf8ef52a96948ddd00a8abbef (diff) | |
download | nextcloud-server-bf95532fb62b54842824b21b78d3dc8cf18023e6.tar.gz nextcloud-server-bf95532fb62b54842824b21b78d3dc8cf18023e6.zip |
Removed unused writeBack method
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/sftp.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/files_external/lib/sftp.php b/apps/files_external/lib/sftp.php index e3689b751c2..cd8a0e78864 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)) { |