On feature Activation it adds the 3 links and on feature deactivation it removes the 3 links.
However.....This has gone thru a couple of interations and deployments and now when I activate the links appear twice each and deactivate leaves one set of links.
I think deactivating the solution, prior to de-activating the feature has left 3 orphaned CustomActions from the previous incarnation of the solution.
In the latest version I have given the CustomAction ID's, hopefully this will prevent any future issues.
But right now, I need to remove the 3 Orphaned Custom Actions on my site collection. I'm not sure how, where these may live in the object model or anything really?
Can they be removed with some powershell? Or better Still some client side code (2010 remember).