From 6e67f5cc2030a337549d46b821ce04d7803e5346 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Mon, 14 Dec 2015 16:32:50 -0800 Subject: [PATCH] This statement handler is no longer used. --- scripts/db-convert-0.1-to-0.2.plx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/db-convert-0.1-to-0.2.plx b/scripts/db-convert-0.1-to-0.2.plx index 2ef2052..09acd91 100644 --- a/scripts/db-convert-0.1-to-0.2.plx +++ b/scripts/db-convert-0.1-to-0.2.plx @@ -48,8 +48,6 @@ $sthNew->execute(); my $fulfillmentId = $dbhNew->last_insert_id("","","",""); $sthNew->finish(); -my $sthNewInsertSupporter = $dbhNew->prepare('INSERT INTO supporter(' . - 'ledger_entity_id, display_name, public_ack) values (?, ?, ?)'); my $sthInsertEmailAddress = $dbhNew->prepare('INSERT INTO email_address(email_address, type_id, date_encountered)' . "values(?, $paypalPayerTypeId, date('now'))"); @@ -95,7 +93,7 @@ while (my $row = $sthOld->fetchrow_hashref) { my $postalId = $dbhNew->last_insert_id("","","",""); $sthLinkSupporterToPostal->execute($supporterId, $postalId); } -foreach my $sth (($sthOld, $sthOld, $sthNewInsertSupporter, $sthInsertEmailAddress, +foreach my $sth (($sthOld, $sthOld, $sthInsertEmailAddress, $sthLinkSupporterToEmail, $sthInsertRequest, $sthPostalAddress, $sthLinkSupporterToPostal,)) { $sth->finish();