]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove code that doesn't do anything
authorBrian West <brian@freeswitch.org>
Sat, 11 Oct 2008 19:09:26 +0000 (19:09 +0000)
committerBrian West <brian@freeswitch.org>
Sat, 11 Oct 2008 19:09:26 +0000 (19:09 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9962 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 75fe1f6d3f4977740231decdfa92da3327bc4627..f14e61bd4ae4b9cb7a5c7954d90ea71a968998df 100644 (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);
                                }