From be2023dae34ff9178e6395ab53d90b5e2d0d1b55 Mon Sep 17 00:00:00 2001
From: Nicolai Ehemann <en@enlightened.de>
Date: Thu, 3 Apr 2014 15:39:19 +0200
Subject: [PATCH] lib/private/files.php: adapted to minimally changed
 ZipStreamer API

---
 3rdparty              | 2 +-
 lib/private/files.php | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/3rdparty b/3rdparty
index b94f7d38f6e..0f862d433ad 160000
--- a/3rdparty
+++ b/3rdparty
@@ -1 +1 @@
-Subproject commit b94f7d38f6e13825fd34c7113827d3c369a689ad
+Subproject commit 0f862d433ad146ebca97e356c703369777c2a30f
diff --git a/lib/private/files.php b/lib/private/files.php
index 0172f1ca6af..ec586a7a08a 100644
--- a/lib/private/files.php
+++ b/lib/private/files.php
@@ -41,7 +41,7 @@
  */
 
 // TODO: get rid of this using proper composer packages
-require_once 'mcnetic/phpzipstreamer/ZipStreamer.php';
+require_once 'mcnetic/phpzipstreamer/src/ZipStreamer.php';
 
 use OC\Lock\NoopLockingProvider;
 use OCP\Lock\ILockingProvider;
@@ -121,7 +121,7 @@ class OC_Files {
 		if ($get_type === self::FILE) {
 			$zip = false;
 		} else {
-			$zip = new ZipStreamer(false);
+			$zip = new ZipStreamer\ZipStreamer();
 		}
 		OC_Util::obEnd();
 
-- 
GitLab