summaryrefslogtreecommitdiffstats
path: root/lib/private/filechunking.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-07 16:46:45 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 16:46:45 +0200
commit1fbf5d86df7ba4001ca826d9dfb8fad073924fde (patch)
tree9260b35011fabbbf69747419282d193fa7a9089c /lib/private/filechunking.php
parent2182ae0d278f466e7f117b03bf4ebca0e6e9fe9b (diff)
parent2d2cb09715554926945de29b80f033905a219abd (diff)
downloadnextcloud-server-1fbf5d86df7ba4001ca826d9dfb8fad073924fde.tar.gz
nextcloud-server-1fbf5d86df7ba4001ca826d9dfb8fad073924fde.zip
Merge pull request #14472 from owncloud/feature/wipencryptionapp
encryption 2.0 app
Diffstat (limited to 'lib/private/filechunking.php')
-rw-r--r--lib/private/filechunking.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/filechunking.php b/lib/private/filechunking.php
index e8a58b2538d..82bf61fa7b1 100644
--- a/lib/private/filechunking.php
+++ b/lib/private/filechunking.php
@@ -189,8 +189,7 @@ class OC_FileChunking {
$absolutePath = \OC\Files\Filesystem::normalizePath(\OC\Files\Filesystem::getView()->getAbsolutePath($path));
$data = '';
// use file_put_contents as method because that best matches what this function does
- if (OC_FileProxy::runPreProxies('file_put_contents', $absolutePath, $data)
- && \OC\Files\Filesystem::isValidPath($path)) {
+ if (\OC\Files\Filesystem::isValidPath($path)) {
$path = \OC\Files\Filesystem::getView()->getRelativePath($absolutePath);
$exists = \OC\Files\Filesystem::file_exists($path);
$run = true;
@@ -231,7 +230,6 @@ class OC_FileChunking {
\OC\Files\Filesystem::signal_post_write,
array( \OC\Files\Filesystem::signal_param_path => $path)
);
- OC_FileProxy::runPostProxies('file_put_contents', $absolutePath, $count);
return $count > 0;
}else{
return false;