-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Preparations for Unified Sharing Legacy Sync #64733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
8df2fd1
0d98e3c
8df3d3f
9e7e98f
78cfec0
7a8eb54
aa13369
e5f4f70
fa6fd47
1dbde05
f9c2bdf
528d00b
cdc0f76
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ | |
| use OCP\EventDispatcher\Event; | ||
| use OCP\EventDispatcher\IEventDispatcher; | ||
| use OCP\EventDispatcher\IEventListener; | ||
| use OCP\Group\Events\GroupDeletedEvent; | ||
| use OCP\Group\Events\BeforeGroupDeletedEvent; | ||
| use OCP\IDBConnection; | ||
| use OCP\IGroupManager; | ||
| use OCP\Interaction\InteractionReceiver; | ||
|
|
@@ -30,7 +30,7 @@ | |
| use OCP\Share\IShare; | ||
|
|
||
| /** | ||
| * @template-implements IEventListener<GroupDeletedEvent> | ||
| * @template-implements IEventListener<BeforeGroupDeletedEvent> | ||
| */ | ||
| final class GroupShareRecipientType extends AShareRecipientTypeSearchCollaborator implements IEventListener { | ||
| public function __construct( | ||
|
|
@@ -39,7 +39,7 @@ public function __construct( | |
| private readonly IGroupManager $groupManager, | ||
| private readonly ISharingManager $manager, | ||
| ) { | ||
| $eventDispatcher->addServiceListener(GroupDeletedEvent::class, self::class); | ||
| $eventDispatcher->addServiceListener(BeforeGroupDeletedEvent::class, self::class); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is that a before deletion listener?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same remark for the user listener |
||
| } | ||
|
|
||
| #[\Override] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is another instance of the same typo in the file