From: Bart Visscher Date: Wed, 12 Sep 2012 22:12:10 +0000 (+0200) Subject: Enable post_write trigger X-Git-Tag: v4.5.0beta4~10^2~30 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e3e4a2bec2809a506fcca7450373b9d736a8da3e;p=nextcloud-server.git 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 --- 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{