diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-01-28 15:34:15 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-01-28 15:34:15 +0100 |
commit | c9c919da5738f963247307ca3878e06beff87ade (patch) | |
tree | 6b4a0c381fef34589559634555a653a57821002d /apps/files_external/lib/ftp.php | |
parent | bca5ce724e4fcecfe89da8839878c4da6f102e35 (diff) | |
download | nextcloud-server-c9c919da5738f963247307ca3878e06beff87ade.tar.gz nextcloud-server-c9c919da5738f963247307ca3878e06beff87ade.zip |
Move streamwrappers to seperate files and put them in a namespace
Diffstat (limited to 'apps/files_external/lib/ftp.php')
-rw-r--r-- | apps/files_external/lib/ftp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/ftp.php b/apps/files_external/lib/ftp.php index 973b33fbfd7..9a27b63323a 100644 --- a/apps/files_external/lib/ftp.php +++ b/apps/files_external/lib/ftp.php @@ -84,7 +84,7 @@ class FTP extends \OC\Files\Storage\StreamWrapper{ $ext=''; } $tmpFile=OCP\Files::tmpFile($ext); - OC_CloseStreamWrapper::$callBacks[$tmpFile]=array($this, 'writeBack'); + \OC\Files\Stream\Close::registerCallback($tmpFile, array($this, 'writeBack')); if ($this->file_exists($path)) { $this->getFile($path, $tmpFile); } |