mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Merge pull request #3185 from woocommerce/PCP-4279-existing-merchant-disconnecting-via-clear-now-button-should-see-new-ui-afterwards
Update the option when clearing the DB (4279)
This commit is contained in:
commit
177efd32a3
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ class UninstallModule implements ServiceModule, ExtendingModule, ExecutableModul
|
|||
$clear_db->clear_scheduled_actions( $scheduled_action_names );
|
||||
$clear_db->clear_actions( $action_names );
|
||||
|
||||
update_option( 'woocommerce-ppcp-is-new-merchant', '1' );
|
||||
|
||||
wp_send_json_success();
|
||||
return true;
|
||||
} catch ( Exception $error ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue