Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1297-1299 (lines=3) @@
1294
	 */
1295
	public function delete_all_connection_tokens( $ignore_connected_plugins = false ) {
1296
		// refuse to delete if we're not the last Jetpack plugin installed.
1297
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1298
			return false;
1299
		}
1300
1301
		/**
1302
		 * Fires upon the disconnect attempt.
@@ 1344-1346 (lines=3) @@
1341
	 * @return bool True if disconnected successfully, false otherwise.
1342
	 */
1343
	public function disconnect_site_wpcom( $ignore_connected_plugins = false ) {
1344
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1345
			return false;
1346
		}
1347
1348
		/**
1349
		 * Fires upon the disconnect attempt.