Cool stuff! You shouldn't listen to filesystem hooks. But to sharing hooks ;)
There is 'OCP\Share' -- 'pre_shared', 'post_shared', 'pre_unshare' and 'post_unshare'. Happy hacking! --Roeland From: Devin Ceartas <de...@nacredata.com> To: <devel@owncloud.org> Sent: 31-3-2016 18:38 Subject: [owncloud-devel] Hook for sharing permission changes? What is the proper hook (/lib/private/files/filesystem.php) to use for capturing the event when a file or folder is shared or unshared? signal_param_users? signal_update? Context, if desired: I'm working on a modification to the search_lucene plugin which allows full-text searching across all searched files, not just the ones you own as is currently the case. See https://github.com/owncloud/search_lucene/issues/10 and https://github.com/NacreData/search_lucene/commits/shared-files devin -- contact info: https://nacredata.com/devin • Amazing Tie-Dye Tee-shirts: https://www.icedyedesigns.com • Art/Poetry/Environment: https://secure.extinctionwitness.org/support • Support progressive climate politics: https://secure.voteclimatepac.org/donate/ • Forest Protection in Ohio: https://www.buckeyeforestcouncil.org/donate.php _______________________________________________ Devel mailing list Devel@owncloud.org http://mailman.owncloud.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@owncloud.org http://mailman.owncloud.org/mailman/listinfo/devel