aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-01-23 15:05:05 +0100
committerVincent Petry <pvince81@owncloud.com>2014-01-23 15:05:05 +0100
commitbf95532fb62b54842824b21b78d3dc8cf18023e6 (patch)
tree4bfa2ef4be4f1ce6587fe85719b5edf9ea2fb948 /apps/files_external
parent421f24868a8cd5bdf8ef52a96948ddd00a8abbef (diff)
downloadnextcloud-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.php8
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)) {