The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

No "uninstall_plugin" script?

Discussion in 'cPanel Developers' started by xcp, Mar 30, 2015.

  1. xcp

    xcp Registered

    Joined:
    Mar 30, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Earth
    cPanel Access Level:
    Root Administrator
    Hi,

    I've created a plugin in accordance with the documentation here:

    https://documentation.cpanel.net/display/PLD/How+to+Register+a+Plugin+in+Paper+Lantern

    Now I'd like to remove it, but I don't see a corresponding uninstall_plugin script.

    After the install, I did make note of which files and directories had been modified. There are more than a few. Is there no uninstaller, or am I overlooking something obvious? The old register_cpanelplugin has an unregister_cpanelplugin counterpart. What about the install_plugin script?

    Thanks.
     
  2. cPanelAdamF

    cPanelAdamF cPanel Product Owner
    Staff Member

    Joined:
    Mar 21, 2013
    Messages:
    174
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Houston TX
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    /scripts/uninstall_plugin arrives in the upcoming 11.50 release and works as you expect. Hand it the original installation file and it will unregister and remove all installed files for that plugin.
     
    xcp likes this.
Loading...

Share This Page