remove code that doesn't do anything

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9962 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-10-11 19:09:26 +00:00
parent 7112384318
commit 788eda6019
1 changed files with 1 additions and 4 deletions

View File

@ -1876,10 +1876,7 @@ switch_status_t config_sofia(int reload, char *profile_name)
if (profile) {
switch_xml_t aliases_tag, alias_tag;
if ((gateways_tag = switch_xml_child(xprofile, "registrations"))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT,
"The <registrations> syntax has been discontinued, please see the new syntax in the default configuration examples\n");
} else if ((gateways_tag = switch_xml_child(xprofile, "gateways"))) {
if ((gateways_tag = switch_xml_child(xprofile, "gateways"))) {
parse_gateways(profile, gateways_tag);
}