Snog
Well-known member
I'm 99.9% sure I know the answer to this, but I figured I'd ask just in case some magic was done in XF 2 that I don't see.
Is there any point after an add-on has been re-enabled, after being disabled, that the add-on's extensions are active prior to being send back to the add-on list screen?
The reason I'm asking is when a certain add-on of mine is disabled, it does some mandatory actions before disabling. That's easy enough to catch in the entity presave.
It's when it's re-enabled that I'd like to automatically undo the actions taken when it was disabled.
Now I don't think it's possible, I never found a way to do it in XF 1, and I make it a manual action that has to be done by the user. So, I won't be disappointed if I have to do the same thing in XF 2.
Is there any point after an add-on has been re-enabled, after being disabled, that the add-on's extensions are active prior to being send back to the add-on list screen?
The reason I'm asking is when a certain add-on of mine is disabled, it does some mandatory actions before disabling. That's easy enough to catch in the entity presave.
It's when it's re-enabled that I'd like to automatically undo the actions taken when it was disabled.
Now I don't think it's possible, I never found a way to do it in XF 1, and I make it a manual action that has to be done by the user. So, I won't be disappointed if I have to do the same thing in XF 2.