From 788eda6019f6a49ab18b35e51e863aeae8f0736b Mon Sep 17 00:00:00 2001 From: Brian West Date: Sat, 11 Oct 2008 19:09:26 +0000 Subject: [PATCH] remove code that doesn't do anything git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9962 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 75fe1f6d3f..f14e61bd4a 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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 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); }