Commit Graph

9 Commits

Author SHA1 Message Date
Jeff Stieler d57b99e6c7 Revamp uninstallation when WooCommerce Admin is in core. (https://github.com/woocommerce/woocommerce-admin/pull/3546)
* Don't truncate table data on uninstall if WooCommerce Admin is in core.

* DROP tables on uninstall (like core does).

* Migrate wc_ prefix options to woocommerce_.

This allows core WC to clean up when uninstalled.

* Migrate wc_ prefixed user meta fields to woocommerce_.

This allows core WC to clean up when uninstalled.

* Fix use of date().

* Update comment describing the option value filter.
2020-01-16 17:08:29 -07:00
Jeff Stieler 953427bea5 Remove defunct filename prefix from remaining files.
Excluding the note classes for third party compatibility.
2019-08-12 15:06:36 -07:00
Jeff Stieler 13878db9ac PSR-4ify the feature plugin and install classes. 2019-08-12 15:03:21 -07:00
Ron Rennick 4ec10698af remove dependency check from uninstall script 2019-08-08 13:35:35 -03:00
Ron Rennick 27dff45d71 delete lookup table data when dependencies not met 2019-08-08 13:23:48 -03:00
Ron Rennick 4ec0ff675b only run uninstall functions if dependencies are available 2019-08-07 12:31:07 -03:00
Joshua Flowers e518f13444 Cancel all wc-admin actions on deactivate 2019-06-12 13:11:13 -06:00
Joshua T Flowers 81ffa853f3 Remove table data on plugin uninstall (https://github.com/woocommerce/woocommerce-admin/pull/2399)
* Remove table data on plugin deactivate

* Fix uninstall classes and move table deletion to uninstall
2019-06-13 00:16:08 +08:00
Mike Jolley 65e3fa905c Add uninstaller file 2019-05-14 15:32:43 +01:00