Code Duplication    Length = 3-3 lines in 2 locations

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

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