From: Brian West Date: Sat, 11 Oct 2008 19:09:26 +0000 (+0000) Subject: remove code that doesn't do anything X-Git-Tag: v1.0.2~844 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788eda6019f6a49ab18b35e51e863aeae8f0736b;p=thirdparty%2Ffreeswitch.git remove code that doesn't do anything git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9962 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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); }