diff options
author | Jonas <jonas@freesources.org> | 2022-07-12 15:13:36 +0300 |
---|---|---|
committer | Jonas <jonas@freesources.org> | 2022-07-12 15:28:21 +0300 |
commit | 74e9ef0fb16e9561b5e77878975fca1a51941931 (patch) | |
tree | d21b53441fb6509b074a16a9aaa5a7249159ae1c /lib/private | |
parent | b2017cd5574fa2a4b4812ad5fa5c89dd9cd4dc7a (diff) |
Fix listening for circle events in SetupManager
So far, SetupManager listened for deprecated events that are no longer
triggered. Instead, use the circle events that actually get triggered
when adding or removing a circle or circle member. Also, these events
get triggered on each instance of a globalscale setup.
Fixes: #33210
Signed-off-by: Jonas <jonas@freesources.org>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Files/SetupManager.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Files/SetupManager.php b/lib/private/Files/SetupManager.php index 876514b473c..f19c9bfa062 100644 --- a/lib/private/Files/SetupManager.php +++ b/lib/private/Files/SetupManager.php @@ -554,10 +554,10 @@ class SetupManager { }); $genericEvents = [ - '\OCA\Circles::onCircleCreation', - '\OCA\Circles::onCircleDestruction', - '\OCA\Circles::onMemberNew', - '\OCA\Circles::onMemberLeaving', + 'OCA\Circles\Events\CreatingCircleEvent', + 'OCA\Circles\Events\DestroyingCircleEvent', + 'OCA\Circles\Events\AddingCircleMemberEvent', + 'OCA\Circles\Events\RemovingCircleMemberEvent', ]; foreach ($genericEvents as $genericEvent) { |