Don't delete the entire general-settings entry

This commit is contained in:
Philipp Stracker 2025-04-03 13:30:57 +02:00 committed by GitHub
parent 503d75e396
commit 5a85286142
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -96,8 +96,6 @@ function clear_plugin_branding( ContainerInterface $container ) : void {
*/
delete_option( 'woocommerce_paypal_branded' );
delete_option( 'woocommerce-ppcp-data-common' );
try {
$general_settings = $container->get( 'settings.data.general' );
assert( $general_settings instanceof GeneralSettings );