Skip to content

Commit 7a14a2b

Browse files
committed
Removed unnecessary integrity check.
1 parent be0b3a5 commit 7a14a2b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/Plugin.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -300,17 +300,11 @@ public function do_deactivation_process() {
300300

301301
$this->clear_abandoned_checkouts_expiration_check();
302302

303+
delete_option( ConnectionStatus::CC_CONNECTION_ESTABLISHED_KEY );
303304
delete_option( CheckoutsTable::DB_VERSION_OPTION_NAME );
304305
delete_option( ConnectionStatus::CC_CONNECTION_USER_ID );
305306
delete_option( ConnectionStatus::CC_FIRST_CONNECTION );
306307
delete_option( 'constant_contact_for_woo_has_setup' );
307-
308-
if ( ! get_option( ConnectionStatus::CC_CONNECTION_ESTABLISHED_KEY ) ) {
309-
return;
310-
}
311-
312-
delete_option( ConnectionStatus::CC_CONNECTION_ESTABLISHED_KEY );
313-
314308
}
315309

316310
/**

0 commit comments

Comments
 (0)