Hi guys.

We added a hook for delete variables on uninstall.
Regards.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | hosting-delete_variables_when-2853150-8.patch | 1008 bytes | renatog |
Hi guys.

We added a hook for delete variables on uninstall.
Regards.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | hosting-delete_variables_when-2853150-8.patch | 1008 bytes | renatog |
Comments
Comment #2
renatog commentedIn attachment the patch with the fix.
Regards and Good work.
Comment #3
helmo commentedThanks, this looks ok in theory.
Do you have a scenario where you want to preserve the hostmaster site while uninstalling the aegir modules?
Comment #4
renatog commentedHi @helmo, how are you?
In all scenarios after uninstalling the project there is no need to keep variables stored in the database.
If is need have this variables is possible disable the project and so the variables will continue in the database.
Thank you very much @helmo.
Good work.
Comment #5
colanWe should probably remove everything, not just the variables, but I'm not sure if the other modules clean up after themselves.
Comment #6
helmo commentedUsing the pattern hosting_% is still 'risky' though ... as it would also remove options from other modules like hosting_git (it depends on hosting ... but still )
Comment #7
renatog commentedHi guys.
You are right @helmo.
I will fix it.
Comment #8
renatog commentedHi @helmo.
Thank you very much for your review.
In attachment new patch.
Regards.
Comment #10
helmo commentedthanks. committed.
Comment #11
renatog commentedThank you very much @helmo.
Hugs.