Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1395-1397 (lines=3) @@
1392
	 */
1393
	public function delete_all_connection_tokens( $ignore_connected_plugins = false ) {
1394
		// refuse to delete if we're not the last Jetpack plugin installed.
1395
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1396
			return false;
1397
		}
1398
1399
		/**
1400
		 * Fires upon the disconnect attempt.
@@ 1442-1444 (lines=3) @@
1439
	 * @return bool True if disconnected successfully, false otherwise.
1440
	 */
1441
	public function disconnect_site_wpcom( $ignore_connected_plugins = false ) {
1442
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1443
			return false;
1444
		}
1445
1446
		/**
1447
		 * Fires upon the disconnect attempt.