Code Duplication    Length = 3-3 lines in 2 locations

projects/packages/connection/src/class-manager.php 2 locations

@@ 1437-1439 (lines=3) @@
1434
	 */
1435
	public function delete_all_connection_tokens( $ignore_connected_plugins = false ) {
1436
		// refuse to delete if we're not the last Jetpack plugin installed.
1437
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1438
			return false;
1439
		}
1440
1441
		/**
1442
		 * Fires upon the disconnect attempt.
@@ 1484-1486 (lines=3) @@
1481
	 * @return bool True if disconnected successfully, false otherwise.
1482
	 */
1483
	public function disconnect_site_wpcom( $ignore_connected_plugins = false ) {
1484
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1485
			return false;
1486
		}
1487
1488
		/**
1489
		 * Fires upon the disconnect attempt.