Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1282-1284 (lines=3) @@
1279
	 */
1280
	public function delete_all_connection_tokens( $ignore_connected_plugins = false ) {
1281
		// refuse to delete if we're not the last Jetpack plugin installed.
1282
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1283
			return false;
1284
		}
1285
1286
		/**
1287
		 * Fires upon the disconnect attempt.
@@ 1329-1331 (lines=3) @@
1326
	 * @return bool True if disconnected successfully, false otherwise.
1327
	 */
1328
	public function disconnect_site_wpcom( $ignore_connected_plugins = false ) {
1329
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1330
			return false;
1331
		}
1332
1333
		/**
1334
		 * Fires upon the disconnect attempt.