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 /lib/archive/zip.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 'lib/archive/zip.php')
-rw-r--r-- | lib/archive/zip.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/archive/zip.php b/lib/archive/zip.php index 1c967baa08f..8e31795ded1 100644 --- a/lib/archive/zip.php +++ b/lib/archive/zip.php @@ -171,7 +171,7 @@ class OC_Archive_ZIP extends OC_Archive{ $ext=''; } $tmpFile=OCP\Files::tmpFile($ext); - OC_CloseStreamWrapper::$callBacks[$tmpFile]=array($this, 'writeBack'); + \OC\Files\Stream\Close::registerCallback($tmpFile, array($this, 'writeBack')); if($this->fileExists($path)) { $this->extractFile($path, $tmpFile); } |