diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-09-07 18:30:48 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-09-07 18:30:48 +0200 |
commit | bd834220959bf7edcc4cce4bfe6c77e0a4649b8b (patch) | |
tree | 6bf7987e57de953924f47f06b3018f14e0807934 /apps/files_external/lib/ftp.php | |
parent | edcd29747692ff1ffbec927b9f31ac239c5e192d (diff) | |
download | nextcloud-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.php | 6 |
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); } |