we need to listen to the pre delete hook, otherwise the file is already gone
Merge pull request #2276 from owncloud/fix_sharing_hooks_oc5

listen to the pre delete hook in the sharing app [oc5]