From 951930c15c75fda0116466b4903c279fe1d51556 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 9 Nov 2012 16:50:46 +0100 Subject: [PATCH] Disable double transaction update --- tests/migrate/migration.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/migrate/migration.class.php b/tests/migrate/migration.class.php index 29282159a4..ea8fb6fdc1 100644 --- a/tests/migrate/migration.class.php +++ b/tests/migrate/migration.class.php @@ -705,10 +705,10 @@ class Migration { if ($result['error'] == false) { //Updating transaction - self::update_transaction(array('id' => $transaction['id'] , 'status_id' => MigrationCustom::TRANSACTION_STATUS_SUCCESSFUL)); + //self::update_transaction(array('id' => $transaction['id'] , 'status_id' => MigrationCustom::TRANSACTION_STATUS_SUCCESSFUL)); } else { //failed - self::update_transaction(array('id' => $transaction['id'] , 'status_id' => MigrationCustom::TRANSACTION_STATUS_FAILED)); + //self::update_transaction(array('id' => $transaction['id'] , 'status_id' => MigrationCustom::TRANSACTION_STATUS_FAILED)); } } else { // method does not exist