Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Uninstall plugin menu item during install of other plugin

Quote Reply
Uninstall plugin menu item during install of other plugin
Is it possible to uninstall a plugin menu item for an already installed plugin from the install of a new plugin?


I tried
$mgr->uninstall_menu ( 'PluginA', [ ['Function1', 'admin.cgi?do=plugin&plugin=PlginA&func=Function1'] ] );

it does not remove the menu item from PluginA

Any ideas?
=================
www.iuni.com - Custom Coding and Plugins
YouPlusMe.com - For a good time
Quote Reply
Re: [gsm] Uninstall plugin menu item during install of other plugin In reply to
Its needs to be an exact match to the code that installed it, but just adding the 'un' install part to it. Are you sure its an exact match, other than the change?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Uninstall plugin menu item during install of other plugin In reply to
I cut and paste the line out of the other plugins install.pm from its uninstall section.

It gets to the code... no errors it just doesn't drop the menu item.


G
=================
www.iuni.com - Custom Coding and Plugins
YouPlusMe.com - For a good time