From 3c8ecab4f8ebffe06c5ee3cabc690ad4a2c7cc21 Mon Sep 17 00:00:00 2001 From: J-Dog Date: Thu, 25 Apr 2024 13:55:32 -0700 Subject: [PATCH] cleanup --- indexer/includes/compare.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/indexer/includes/compare.php b/indexer/includes/compare.php index a3b0454..5bf69a5 100644 --- a/indexer/includes/compare.php +++ b/indexer/includes/compare.php @@ -66,25 +66,6 @@ function btnsCompare($database=null){ {$whereSql} ORDER BY tx_index ASC {$limitSql}"; - // Support OLD style database with index_tx_types instead of index_actions - // TODO: Remove - if(in_array($db,array('BTNS_Counterparty_Old','BTNS_Counterparty_Testnet_Old','BTNS_Dogeparty_Old','BTNS_Dogeparty_Testnet_Old'))){ - $sql = "SELECT - t1.tx_index, - t2.hash as tx_hash, - a.type as action - FROM - {$db}.transactions t1, - {$db}.index_transactions t2, - {$db}.index_tx_types a - WHERE - a.id=t1.type_id AND - t2.id=t1.tx_hash_id - {$whereSql} - ORDER BY tx_index ASC - {$limitSql}"; - } - $results = $mysqli->query($sql); if($results){ if($results->num_rows){