Discussion:
[Vtigercrm-developers] Uninstall module
socialboostdk
2018-11-06 11:35:04 UTC
Permalink
Hi there,

Is there any generic approach to "cleanly uninstalling modules"? Ie perhaps
even an "uninstall-module-module"?

I've seen plenty of scripts like
http://xirgosoft.com/delete-module-from-vtiger/ and elsewhere, and assume
those will work fine. So it should just be a matter of giving a dropdown
list of modules, running a script like the previous one, and then removing
files (assuming PHP has access to do that)?

Any input / ideas?

:)

Cheers,
Chris
S T Prasad
2018-11-06 13:20:47 UTC
Permalink
Hi Chris,

The author of the module in question would be the owner of the knowledge of
the changes that are made to the system, which would need to be undone.

Generally there are some behaviors of a well written installable module,

function vtlib_handler has a module.preuninstall, event which could be used
to manage any non standard changes.

There is no best practices document on custom module install and uninstall,
published as a whole, maybe others could contribute to their experiences
and be a part of the Vtiger Development section of their wiki or blog.



With best regards,

S.T.Prasad (Skype: ***@stprasad.com)
Founder and Chief Shikari
http://www.vtigress.com
The Purr-fect mate for vTiger
Certified Solution Partner for Asia and Africa
Post by socialboostdk
Hi there,
Is there any generic approach to "cleanly uninstalling modules"? Ie
perhaps even an "uninstall-module-module"?
I've seen plenty of scripts like http://xirgosoft.com/
delete-module-from-vtiger/ and elsewhere, and assume those will work
fine. So it should just be a matter of giving a dropdown list of modules,
running a script like the previous one, and then removing files (assuming
PHP has access to do that)?
Any input / ideas?
:)
Cheers,
Chris
_______________________________________________
http://www.vtiger.com/
Loading...