From e3e4a2bec2809a506fcca7450373b9d736a8da3e Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Thu, 13 Sep 2012 00:12:10 +0200 Subject: [PATCH] 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 --- lib/filesystemview.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/filesystemview.php b/lib/filesystemview.php index 3a17af510c..743f940301 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{