Hi guys.

We added a hook for delete variables on uninstall.

Regards.

Comments

renatog created an issue. See original summary.

renatog’s picture

Assigned: renatog » Unassigned
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new460 bytes

In attachment the patch with the fix.

Regards and Good work.

helmo’s picture

Thanks, this looks ok in theory.

Do you have a scenario where you want to preserve the hostmaster site while uninstalling the aegir modules?

renatog’s picture

Hi @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.

colan’s picture

We should probably remove everything, not just the variables, but I'm not sure if the other modules clean up after themselves.

helmo’s picture

Status: Needs review » Needs work

Using 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 )

renatog’s picture

Assigned: Unassigned » renatog

Hi guys.

You are right @helmo.

I will fix it.

renatog’s picture

Assigned: renatog » Unassigned
Status: Needs work » Needs review
StatusFileSize
new1008 bytes

Hi @helmo.

Thank you very much for your review.

In attachment new patch.

Regards.

  • helmo committed d1c6b9a on 7.x-3.x authored by renatog
    Issue #2853150 by renatog: Delete variables when uninstall
    
helmo’s picture

Status: Needs review » Fixed

thanks. committed.

renatog’s picture

Thank you very much @helmo.

Hugs.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.