mod_nibblebill.c: remove deprecated warning
This commit is contained in:
parent
b8a9c8be9b
commit
9a3bc0805e
|
@ -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")) {
|
||||||
|
|
Loading…
Reference in New Issue