summaryrefslogtreecommitdiffstats
path: root/lib/filechunking.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/filechunking.php')
-rw-r--r--lib/filechunking.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/filechunking.php b/lib/filechunking.php
index d63a0d72c83..e6d69273a44 100644
--- a/lib/filechunking.php
+++ b/lib/filechunking.php
@@ -97,7 +97,8 @@ 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_FileProxy::runPreProxies('file_put_contents', $absolutePath, $data)
+ && \OC\Files\Filesystem::isValidPath($path)) {
$path = \OC\Files\Filesystem::getView()->getRelativePath($absolutePath);
$exists = \OC\Files\Filesystem::file_exists($path);
$run = true;