Removed unused writeBack method

This commit is contained in:
Vincent Petry 2014-01-23 15:05:05 +01:00
parent 421f24868a
commit bf95532fb6

View file

@ -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)) {