summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-09-13 00:12:10 +0200
committerBart Visscher <bartv@thisnet.nl>2012-09-13 00:12:10 +0200
commite3e4a2bec2809a506fcca7450373b9d736a8da3e (patch)
tree8450664fa29051e3904bc01f0a5f57a85d7fe6a2
parent78a022fda657febf4d42ba10f10fb3c7feaf7efa (diff)
downloadnextcloud-server-e3e4a2bec2809a506fcca7450373b9d736a8da3e.tar.gz
nextcloud-server-e3e4a2bec2809a506fcca7450373b9d736a8da3e.zip
Enable post_write trigger
This is used when uploading a file with webdav. The trigger will add the file to the cache and make it show up in listings
-rw-r--r--lib/filesystemview.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php
index 3a17af510cf..743f9403011 100644
--- a/lib/filesystemview.php
+++ b/lib/filesystemview.php
@@ -295,12 +295,12 @@ class OC_FilesystemView {
OC_Filesystem::signal_post_create,
array( OC_Filesystem::signal_param_path => $path)
);
- }/*
+ }
OC_Hook::emit(
OC_Filesystem::CLASSNAME,
OC_Filesystem::signal_post_write,
array( OC_Filesystem::signal_param_path => $path)
- );*/
+ );
OC_FileProxy::runPostProxies('file_put_contents', $absolutePath, $count);
return $count > 0;
}else{