<div dir="ltr">There would be one in 6.1.0 for the installed modules.</div><div class="gmail_extra"><br clear="all"><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>
<br><br><div class="gmail_quote">On Thu, Jul 24, 2014 at 3:09 PM, Mel <span dir="ltr"><<a href="mailto:m.brummell@btinternet.com" target="_blank">m.brummell@btinternet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
Is there any way of deleting custom modules? Ideally there would be an<br>
uninstall button, but all we can do at the moment (it appears) is disable<br>
modules.<br>
<br>
I have also tried the code suggestions i.e. to create a php file with code<br>
along the lines of:<br>
<br>
include_once('vtlib/Vtiger/Module.php');<br>
<br>
/*<br>
* Delete a module<br>
*/<br>
$module = Vtiger_Module::getInstance('MyCustomModule');<br>
if($module)<br>
{<br>
// Delete from system<br>
$module->delete();<br>
echo "Module deleted!";<br>
} else {<br>
echo "Module was not found and could not be deleted!";<br>
}<br>
<br>
But this and a slightly different piece of code didn't work for me.<br>
<br>
Am I overlooking something in Vtiger 6.1? Is there an obvious way of<br>
uninstalling custom modules?<br>
<br>
Mel<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>