summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Kjölhede <hkjolhede@gmail.com>2013-02-09 20:35:48 +0100
committerHenrik Kjölhede <hkjolhede@gmail.com>2013-02-09 20:35:48 +0100
commit674955d1b64abe454dbd894d44d4d78e882b0fe8 (patch)
tree8516f3bfca397d9e13b3119911e3188d2ca23e33
parent71d3903cfd54388bed22fafaaef750c60f8100c3 (diff)
downloadnextcloud-server-674955d1b64abe454dbd894d44d4d78e882b0fe8.tar.gz
nextcloud-server-674955d1b64abe454dbd894d44d4d78e882b0fe8.zip
Spelling mistake
-rw-r--r--apps/files_external/lib/sftp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/sftp.php b/apps/files_external/lib/sftp.php
index 0b461fe7f4b..e5e9ea8b0fa 100644
--- a/apps/files_external/lib/sftp.php
+++ b/apps/files_external/lib/sftp.php
@@ -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);
}