From b0cdbd54bcfce09fc5dc662c75a66a12d40eb7ae Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Wed, 20 Nov 2013 07:43:09 +0100 Subject: [PATCH] [FIX] Removed blocks JOIN on archive query --- public/include/classes/transaction.class.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/include/classes/transaction.class.php b/public/include/classes/transaction.class.php index a8e77d1b..0dad5fe6 100644 --- a/public/include/classes/transaction.class.php +++ b/public/include/classes/transaction.class.php @@ -36,8 +36,6 @@ class Transaction extends Base { public function setArchived($account_id, $txid) { $stmt = $this->mysqli->prepare(" UPDATE $this->table AS t - LEFT JOIN " . $this->block->getTableName() . " AS b - ON b.id = t.block_id SET t.archived = 1 WHERE archived = 0 AND t.account_id = ? AND t.id <= ? ");