diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-04 01:03:34 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-04 01:03:34 +0100 |
commit | d2d2d773cb2cc23f198d07392bab463beb2e2e04 (patch) | |
tree | 4f8eb381f1f64d47cc3668b40889416ea35fc31f /src/backenddb/plugin_merchantdb_postgres.c | |
parent | 881381503f7f51b294c2740e9fcf7f28ef43f973 (diff) | |
download | merchant-d2d2d773cb2cc23f198d07392bab463beb2e2e04.tar.gz merchant-d2d2d773cb2cc23f198d07392bab463beb2e2e04.tar.bz2 merchant-d2d2d773cb2cc23f198d07392bab463beb2e2e04.zip |
remove unnecessary DB interaction in GET private/orders/ID
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r-- | src/backenddb/plugin_merchantdb_postgres.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c index 30f5c169..0e538ba9 100644 --- a/src/backenddb/plugin_merchantdb_postgres.c +++ b/src/backenddb/plugin_merchantdb_postgres.c @@ -1,6 +1,6 @@ /* This file is part of TALER - (C) 2014--2023 Taler Systems SA + (C) 2014--2024 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software @@ -76,6 +76,7 @@ #include "pg_insert_order.h" #include "pg_unlock_inventory.h" #include "pg_insert_order_lock.h" +#include "pg_lookup_contract_terms3.h" #include "pg_lookup_contract_terms2.h" #include "pg_lookup_contract_terms.h" #include "pg_insert_contract_terms.h" @@ -96,7 +97,6 @@ #include "pg_refund_coin.h" #include "pg_lookup_order_status.h" #include "pg_lookup_order_status_by_serial.h" -#include "pg_lookup_payment_status.h" #include "pg_lookup_deposits_by_order.h" #include "pg_lookup_transfer_details_by_order.h" #include "pg_mark_order_wired.h" @@ -456,6 +456,8 @@ libtaler_plugin_merchantdb_postgres_init (void *cls) = &TMH_PG_lookup_contract_terms; plugin->lookup_contract_terms2 = &TMH_PG_lookup_contract_terms2; + plugin->lookup_contract_terms3 + = &TMH_PG_lookup_contract_terms3; plugin->insert_contract_terms = &TMH_PG_insert_contract_terms; plugin->update_contract_terms @@ -480,8 +482,6 @@ libtaler_plugin_merchantdb_postgres_init (void *cls) = &TMH_PG_lookup_order_status; plugin->lookup_order_status_by_serial = &TMH_PG_lookup_order_status_by_serial; - plugin->lookup_payment_status - = &TMH_PG_lookup_payment_status; plugin->lookup_deposits_by_order = &TMH_PG_lookup_deposits_by_order; plugin->lookup_transfer_details_by_order |