diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-05-31 16:32:29 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-05-31 16:32:29 +0200 |
commit | 68dacf2b5b198dac82f38b09617175b4087f9af1 (patch) | |
tree | c839916c0d853583e91a2fc33781fcbe0632e645 /owncloud-8.2.3-icewind-streams-encryption.patch | |
parent | aa9951a13707c9b7935bebcdc49057e7baaffe69 (diff) |
owncloud: 9.0.2
Diffstat (limited to 'owncloud-8.2.3-icewind-streams-encryption.patch')
-rw-r--r-- | owncloud-8.2.3-icewind-streams-encryption.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/owncloud-8.2.3-icewind-streams-encryption.patch b/owncloud-8.2.3-icewind-streams-encryption.patch deleted file mode 100644 index 177aad2..0000000 --- a/owncloud-8.2.3-icewind-streams-encryption.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php -index e0d263d..4c32899 100644 ---- a/lib/private/files/stream/encryption.php -+++ b/lib/private/files/stream/encryption.php -@@ -471,4 +471,13 @@ protected function parentStreamSeek($position) { - return parent::stream_seek($position); - } - -+ /** -+ * @param string $path -+ * @param array $options -+ * @return bool -+ */ -+ public function dir_opendir($path, $options) { -+ return false; -+ } -+ - } -diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php -index 4c32899..585a697 100644 ---- a/lib/private/files/stream/encryption.php -+++ b/lib/private/files/stream/encryption.php -@@ -167,7 +167,7 @@ public static function wrap($source, $internalPath, $fullPath, array $header, - ) - )); - -- return self::wrapSource($source, $mode, $context, 'ocencryption', $wrapper); -+ return self::wrapSource($source, $context, 'ocencryption', $wrapper, $mode); - } - - /** -@@ -181,7 +181,7 @@ public static function wrap($source, $internalPath, $fullPath, array $header, - * @return resource - * @throws \BadMethodCallException - */ -- protected static function wrapSource($source, $mode, $context, $protocol, $class) { -+ protected static function wrapSource($source, $context, $protocol, $class, $mode = 'r+') { - try { - stream_wrapper_register($protocol, $class); - if (@rewinddir($source) === false) { |