Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1330-1332 (lines=3) @@
1327
	 */
1328
	public function delete_all_connection_tokens( $ignore_connected_plugins = false ) {
1329
		// refuse to delete if we're not the last Jetpack plugin installed.
1330
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1331
			return false;
1332
		}
1333
1334
		/**
1335
		 * Fires upon the disconnect attempt.
@@ 1377-1379 (lines=3) @@
1374
	 * @return bool True if disconnected successfully, false otherwise.
1375
	 */
1376
	public function disconnect_site_wpcom( $ignore_connected_plugins = false ) {
1377
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1378
			return false;
1379
		}
1380
1381
		/**
1382
		 * Fires upon the disconnect attempt.