mod_nibblebill.c: remove deprecated warning

This commit is contained in:
Abdelkader Boudih 2025-01-10 23:33:06 +01:00
parent b8a9c8be9b
commit 9a3bc0805e
1 changed files with 0 additions and 5 deletions

View File

@ -224,11 +224,6 @@ static switch_status_t nibblebill_load_config(void)
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "odbc_dsn is %s\n", val); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "odbc_dsn is %s\n", val);
switch_safe_free(globals.odbc_dsn); switch_safe_free(globals.odbc_dsn);
globals.odbc_dsn = strdup(val); globals.odbc_dsn = strdup(val);
} else if (!strcasecmp(var, "db_dsn") && !zstr(val)) {
/* For backwards-compatibility */
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "this nibblebill param(db_dsn) is deprecated and will be removed in 1.4 - odbc_dsn is %s\n", val);
switch_safe_free(globals.odbc_dsn);
globals.odbc_dsn = strdup(val);
} else if (!strcasecmp(var, "db_table")) { } else if (!strcasecmp(var, "db_table")) {
set_global_db_table(val); set_global_db_table(val);
} else if (!strcasecmp(var, "db_column_cash")) { } else if (!strcasecmp(var, "db_column_cash")) {