<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Chris,<div><br></div><div>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.</div><div><br></div><div>Generally there are some behaviors of a well written installable module, </div><div><br></div><div>function vtlib_handler has a module.preuninstall, event which could be used to manage any non standard changes. <br></div><div><br></div><div>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.</div><div><br></div><div><br></div></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>With best regards,<br><br>S.T.Prasad (Skype: <a href="mailto:stprasad@stprasad.com" target="_blank">stprasad@stprasad.com</a>)</div><div>Founder and Chief Shikari<br><a href="http://www.vtigress.com" target="_blank">http://www.vtigress.com</a><br>The Purr-fect mate for vTiger<br></div><div>Certified Solution Partner for Asia and Africa</div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Nov 6, 2018 at 5:05 PM, socialboostdk <span dir="ltr"><<a href="mailto:socialboostdk@gmail.com" target="_blank">socialboostdk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi there,<div><br></div><div>Is there any generic approach to "cleanly uninstalling modules"? Ie perhaps even an "uninstall-module-module"?</div><div><br></div><div>I've seen plenty of scripts like <a href="http://xirgosoft.com/delete-module-from-vtiger/" target="_blank">http://xirgosoft.com/<wbr>delete-module-from-vtiger/</a> 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)?</div><div><br></div><div>Any input / ideas?</div><div><br></div><div>:) </div><div><br></div><div>Cheers,</div><div>Chris</div></div></div>
<br>______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>