summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/ftp.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 12:54:31 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 12:54:31 +0200
commit8c7f8546716ac77cdeaa134caf9fae22232ce213 (patch)
tree80c98f5aaf0274e5c38c3d55af9400a720552745 /apps/files_external/lib/ftp.php
parentf1830866a3f20e50c3d409d3cdd508a98fc56377 (diff)
downloadnextcloud-server-8c7f8546716ac77cdeaa134caf9fae22232ce213.tar.gz
nextcloud-server-8c7f8546716ac77cdeaa134caf9fae22232ce213.zip
move all the files stuff into a files class
Diffstat (limited to 'apps/files_external/lib/ftp.php')
-rwxr-xr-xapps/files_external/lib/ftp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/ftp.php b/apps/files_external/lib/ftp.php
index 1618a22ba8a..981eeab58bf 100755
--- a/apps/files_external/lib/ftp.php
+++ b/apps/files_external/lib/ftp.php
@@ -108,7 +108,7 @@ class OC_FileStorage_FTP extends OC_Filestorage_Common{
}else{
$ext='';
}
- $tmpFile=OCP\Util::tmpFile($ext);
+ $tmpFile=OCP\Files::tmpFile($ext);
OC_CloseStreamWrapper::$callBacks[$tmpFile]=array($this,'writeBack');
if($this->file_exists($path)){
$this->getFile($path,$tmpFile);