[Vtigercrm-developers] Ability to remove custom modules - feature request maybe?

Prasad prasad at vtiger.com
Thu Jul 24 09:45:57 GMT 2014


There would be one in 6.1.0 for the installed modules.

*Connect with us on: *Twitter <http://twitter.com/vtigercrm> *I* Facebook
<http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *I* Blog
<https://blogs.vtiger.com/>* I* Wiki
<http://wiki.vtiger.com/index.php/Main_Page> *I *Forums
<https://discussions.vtiger.com>*I* Website <https://www.vtiger.com/>


On Thu, Jul 24, 2014 at 3:09 PM, Mel <m.brummell at btinternet.com> wrote:

> Hi,
> Is there any way of deleting custom modules? Ideally there would be an
> uninstall button, but all we can do at the moment (it appears) is disable
> modules.
>
> I have also tried the code suggestions i.e. to create a php file with code
> along the lines of:
>
> include_once('vtlib/Vtiger/Module.php');
>
> /*
>  * Delete a module
>  */
> $module = Vtiger_Module::getInstance('MyCustomModule');
> if($module)
> {
>     // Delete from system
>     $module->delete();
>     echo "Module deleted!";
> } else {
>     echo "Module was not found and could not be deleted!";
> }
>
> But this and a slightly different piece of code didn't work for me.
>
> Am I overlooking something in Vtiger 6.1? Is there an obvious way of
> uninstalling custom modules?
>
> Mel
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140724/04eccbe3/attachment.html>


More information about the vtigercrm-developers mailing list