Spelling mistake

This commit is contained in:
Henrik Kjölhede 2013-02-09 20:35:48 +01:00
parent 71d3903cfd
commit 674955d1b6
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ class SFTP extends OC\Files\Storage\Common {
$ext='';
}
$tmpFile=OC_Helper::tmpFile($ext);
\OC\Files\Stream\Close::registerCallback($tmpFile], array($this, 'writeBack'));
\OC\Files\Stream\Close::registerCallback($tmpFile, array($this, 'writeBack'));
if ($this->file_exists($path)) {
$this->getFile($abs_path, $tmpFile);
}