donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit f596a36d86a59b72804de4bbda06e10097265261
parent ef4d0af62bb736122146842a12213cdae25eb728
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sat,  2 Aug 2025 12:42:19 +0200

DCE

Diffstat:
Msrc/donaudb/pg_helper.h | 5-----
Msrc/donaudb/plugin_donaudb_postgres.c | 16----------------
2 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/src/donaudb/pg_helper.h b/src/donaudb/pg_helper.h @@ -35,11 +35,6 @@ struct PostgresClosure const struct GNUNET_CONFIGURATION_Handle *cfg; /** - * Directory with SQL statements to run to create tables. - */ - char *sql_dir; - - /** * Which currency should we assume all amounts to be in? */ char *currency; diff --git a/src/donaudb/plugin_donaudb_postgres.c b/src/donaudb/plugin_donaudb_postgres.c @@ -160,18 +160,6 @@ libtaler_plugin_donaudb_postgres_init (void *cls) pg = GNUNET_new (struct PostgresClosure); pg->cfg = cfg; if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_filename (cfg, - "donaudb-postgres", - "SQL_DIR", - &pg->sql_dir)) - { - GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, - "donaudb-postgres", - "SQL_DIR"); - GNUNET_free (pg); - return NULL; - } - if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, "donau", "BASE_URL", @@ -180,7 +168,6 @@ libtaler_plugin_donaudb_postgres_init (void *cls) GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, "donau", "BASE_URL"); - GNUNET_free (pg->sql_dir); GNUNET_free (pg); return NULL; } @@ -190,7 +177,6 @@ libtaler_plugin_donaudb_postgres_init (void *cls) &pg->currency)) { GNUNET_free (pg->donau_url); - GNUNET_free (pg->sql_dir); GNUNET_free (pg); return NULL; } @@ -199,7 +185,6 @@ libtaler_plugin_donaudb_postgres_init (void *cls) { GNUNET_free (pg->donau_url); GNUNET_free (pg->currency); - GNUNET_free (pg->sql_dir); GNUNET_free (pg); return NULL; } @@ -281,7 +266,6 @@ libtaler_plugin_donaudb_postgres_done (void *cls) pg->conn = NULL; } GNUNET_free (pg->donau_url); - GNUNET_free (pg->sql_dir); GNUNET_free (pg->currency); GNUNET_free (pg); GNUNET_free (plugin);