summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/ftp.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-12 11:00:38 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-12 11:00:38 +0100
commit646d60ee83168169050271ee9d5442e2dc626e8a (patch)
treed94bc031ed220795d720f0d41d3fc8dc7b6ea8d6 /apps/files_external/lib/ftp.php
parentad6e133ca6cfe30e76fb402e5a266bca90f8c80b (diff)
downloadnextcloud-server-646d60ee83168169050271ee9d5442e2dc626e8a.tar.gz
nextcloud-server-646d60ee83168169050271ee9d5442e2dc626e8a.zip
fixing namespace
Diffstat (limited to 'apps/files_external/lib/ftp.php')
-rw-r--r--apps/files_external/lib/ftp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/ftp.php b/apps/files_external/lib/ftp.php
index a76a3dc80f8..fa8698af7ac 100644
--- a/apps/files_external/lib/ftp.php
+++ b/apps/files_external/lib/ftp.php
@@ -35,7 +35,7 @@ class FTP extends \OC\Files\Storage\StreamWrapper{
if ( ! $this->root || $this->root[0]!='/') {
$this->root='/'.$this->root;
}
- //create the root folder if necesary
+ //create the root folder if necessary
if ( ! $this->is_dir('')) {
$this->mkdir('');
}
@@ -88,7 +88,7 @@ class FTP extends \OC\Files\Storage\StreamWrapper{
} else {
$ext='';
}
- $tmpFile=OCP\Files::tmpFile($ext);
+ $tmpFile=\OCP\Files::tmpFile($ext);
\OC\Files\Stream\Close::registerCallback($tmpFile, array($this, 'writeBack'));
if ($this->file_exists($path)) {
$this->getFile($path, $tmpFile);