Removed unused writeBack method
This commit is contained in:
parent
421f24868a
commit
bf95532fb6
1 changed files with 0 additions and 8 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue