• Resolved walstice

    (@walstice)


    Hi,

    we have been using the plugin since quite a while now, great work, it works perfectly.

    So far, we have been hiding menu items based on user roles. Now we want to fully reset everyhing and delete old plugin data in order to set menus based on users, not roles anymore.

    We noticed there’s a huge amount of autoload data in options table, so I was wondering:

    How to fully remove the plugin, including all old data (autoload and so on..) in order to reinstall it clean from scratch?

    So we can set specific menus based on users. We know we could do this directly, but we want to first clean up old useless data/options in our database first and start again from scratch in order to improve performance too.

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    Assuming that it’s a regular site and not a Multisite network, simply deleting the plugin from the “Plugins -> Installed Plugins” page should also delete all plugin settings. If you notice that any settings are left in the database after that, that’s probably a bug – let me know and I’ll try to fix it in a future release.

    Note that if you delete the plugin files manually – like by using a file manager – that usually will not delete plugin settings.

    Thread Starter walstice

    (@walstice)

    Hi, thanks for your quick reply.

    Actually my website is a multisite (5 sites), by deleting the plugin from “Network > Plugins” it won’t delete all database options/data?

    Thanks

    Plugin Author Janis Elsts

    (@whiteshadow)

    It will delete database data from the network-level tables and from the main site, but it won’t delete any site-specific data from other sites. There may or may not be anything to delete there – it depends on how the plugin was configured.

    To delete settings from all sites, the plugin would have to switch to each individual site in the network and run some database queries. This could take a very long time on large networks and might even cause uninstallation to fail due to a timeout, so I haven’t added that feature to the uninstallation script.

    Thread Starter walstice

    (@walstice)

    Great thank you, you can close this post.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Uninstall the plugin, clean up old data and reinstall’ is closed to new replies.