Skip to content

Commit

Permalink
mod_nibblebill.c: remove deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros committed Jan 11, 2025
1 parent 559a97e commit cdeeb91
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/mod/applications/mod_nibblebill/mod_nibblebill.c
Original file line number Diff line number Diff line change
Expand Up @@ -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_safe_free(globals.odbc_dsn);
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")) {
set_global_db_table(val);
} else if (!strcasecmp(var, "db_column_cash")) {
Expand Down

0 comments on commit cdeeb91

Please sign in to comment.