lib/private/files.php: adapted to minimally changed ZipStreamer API
This commit is contained in:
parent
f9b05578a6
commit
be2023dae3
2
3rdparty
2
3rdparty
|
@ -1 +1 @@
|
||||||
Subproject commit b94f7d38f6e13825fd34c7113827d3c369a689ad
|
Subproject commit 0f862d433ad146ebca97e356c703369777c2a30f
|
|
@ -41,7 +41,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// TODO: get rid of this using proper composer packages
|
// 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 OC\Lock\NoopLockingProvider;
|
||||||
use OCP\Lock\ILockingProvider;
|
use OCP\Lock\ILockingProvider;
|
||||||
|
@ -121,7 +121,7 @@ class OC_Files {
|
||||||
if ($get_type === self::FILE) {
|
if ($get_type === self::FILE) {
|
||||||
$zip = false;
|
$zip = false;
|
||||||
} else {
|
} else {
|
||||||
$zip = new ZipStreamer(false);
|
$zip = new ZipStreamer\ZipStreamer();
|
||||||
}
|
}
|
||||||
OC_Util::obEnd();
|
OC_Util::obEnd();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue