mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
💡 Add a todo for future refactoring
This commit is contained in:
parent
5936ba5246
commit
aaa4022498
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ require $main_plugin_file;
|
|||
$settings = $app_container->get( 'wcgateway.settings' );
|
||||
assert( $settings instanceof Settings );
|
||||
|
||||
// TODO: This is a flag only present in the #legacy-ui. Should we change this to a filter, or remove the DB reset code?
|
||||
$should_clear_db = $settings->has( 'uninstall_clear_db_on_uninstall' ) && $settings->get( 'uninstall_clear_db_on_uninstall' );
|
||||
if ( ! $should_clear_db ) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue