We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

EE 3.2: When Member Groups are deleted, no events/hooks are fired

Developer Preview

Manuel Payano's avatar
Manuel Payano
144 posts
9 years ago
Manuel Payano's avatar Manuel Payano

Hi,

When member groups are deleted no extension hooks or model events are fired.

In the current version when a member group is deleted, it uses legacy member_model to make it happen. It’s not using the new MemberGroup model which at least has the ability fire model events (or delete related models).

Can this be improved in the future?

Some options:
1. Fire extension hook
2. Give the MemberGroup model a hook_id and use the model to delete the Member Group

       
Pascal Kriete's avatar
Pascal Kriete
2,589 posts
9 years ago
Pascal Kriete's avatar Pascal Kriete

Following up a little late, but just wanted to say that we’ll look into it! In general, I agree that there should be hooks. The member group model is a little special in how it works with msm, so that might hold this feature up a little.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.