summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/ftp.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-09-07 18:30:48 +0200
committerRobin Appelman <icewind@owncloud.com>2012-09-07 18:30:48 +0200
commitbd834220959bf7edcc4cce4bfe6c77e0a4649b8b (patch)
tree6bf7987e57de953924f47f06b3018f14e0807934 /apps/files_external/lib/ftp.php
parentedcd29747692ff1ffbec927b9f31ac239c5e192d (diff)
downloadnextcloud-server-bd834220959bf7edcc4cce4bfe6c77e0a4649b8b.tar.gz
nextcloud-server-bd834220959bf7edcc4cce4bfe6c77e0a4649b8b.zip
put filestorages in a namespace
Diffstat (limited to 'apps/files_external/lib/ftp.php')
-rw-r--r--apps/files_external/lib/ftp.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_external/lib/ftp.php b/apps/files_external/lib/ftp.php
index 261141455cc..140a21ffe13 100644
--- a/apps/files_external/lib/ftp.php
+++ b/apps/files_external/lib/ftp.php
@@ -6,7 +6,9 @@
* See the COPYING-README file.
*/
-class OC_FileStorage_FTP extends OC_FileStorage_StreamWrapper{
+namespace OC\Files\Storage;
+
+class FTP extends \OC\Files\Storage\StreamWrapper{
private $password;
private $user;
private $host;
@@ -69,7 +71,7 @@ class OC_FileStorage_FTP extends OC_FileStorage_StreamWrapper{
$ext='';
}
$tmpFile=OCP\Files::tmpFile($ext);
- OC_CloseStreamWrapper::$callBacks[$tmpFile]=array($this,'writeBack');
+ \OC_CloseStreamWrapper::$callBacks[$tmpFile]=array($this,'writeBack');
if($this->file_exists($path)) {
$this->getFile($path,$tmpFile);
}