summaryrefslogtreecommitdiffstats
path: root/lib/private/filechunking.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-30 22:45:58 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:28 +0200
commit1b42b492dce562596b8b57a11546728f697c4f38 (patch)
tree6280aa40baaf55db44edf84a906b83db2d47fc46 /lib/private/filechunking.php
parentdbdd754c3fc37dc3100a9741f956d913e6d64576 (diff)
downloadnextcloud-server-1b42b492dce562596b8b57a11546728f697c4f38.tar.gz
nextcloud-server-1b42b492dce562596b8b57a11546728f697c4f38.zip
kill OC_FileProxy :boom:
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;