diff options
Diffstat (limited to 'lib/private/Share20/Manager.php')
-rw-r--r-- | lib/private/Share20/Manager.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 0787f6d32aa..427b7b449ec 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -1168,6 +1168,8 @@ class Manager implements IManager { $provider = $this->factory->getProviderForType($share->getShareType()); $provider->delete($share); + $this->dispatcher->dispatchTyped(new Share\Events\ShareDeletedEvent($share, $deletedShares)); + // All the deleted shares caused by this delete $deletedShares[] = $share; |