diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-site-migration-wpcom-migration-key.php b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-site-migration-wpcom-migration-key.php index 8ee40eaa04ce2..5cd20cc4dd25c 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-site-migration-wpcom-migration-key.php +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-site-migration-wpcom-migration-key.php @@ -12,13 +12,6 @@ * @hide-in-jetpack */ class WPCOM_REST_API_V2_Endpoint_Site_Migration_WPCOM_Migration_Key extends WP_REST_Controller { - /** - * Option name that tracks wether the key has been read or not. - * The only possible value for the option is 'read'. - * - * @var string - */ - protected $key_is_read_option_name = 'wpcom_site_migration_wpcom_migration_key_read'; /** * Class constructor @@ -85,8 +78,6 @@ private function get_migration_key() { $wpcom_migration_settings = new WPCOMWPSettings(); $wpcom_migration_info = new WPCOMInfo( $wpcom_migration_settings ); - update_option( $this->key_is_read_option_name, 'read' ); - return $wpcom_migration_info->getConnectionKey(); }