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
remotes/origin/stable45
Bart Visscher 13 years ago
parent 78a022fda6
commit e3e4a2bec2
  1. 4
      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{

Loading…
Cancel
Save