mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
FS-3166 --resolve
This commit is contained in:
+1
-5
@@ -1851,7 +1851,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_locate_user(const char *key,
|
||||
switch_xml_t *domain, switch_xml_t *user, switch_xml_t *ingroup, switch_event_t *params)
|
||||
{
|
||||
switch_status_t status = SWITCH_STATUS_FALSE;
|
||||
switch_event_t *my_params = NULL, *search_params = NULL;
|
||||
switch_event_t *my_params = NULL;
|
||||
switch_xml_t group = NULL, groups = NULL, users = NULL;
|
||||
|
||||
*root = NULL;
|
||||
@@ -1888,10 +1888,6 @@ SWITCH_DECLARE(switch_status_t) switch_xml_locate_user(const char *key,
|
||||
|
||||
status = SWITCH_STATUS_FALSE;
|
||||
|
||||
if (params != my_params) {
|
||||
search_params = params;
|
||||
}
|
||||
|
||||
if ((groups = switch_xml_child(*domain, "groups"))) {
|
||||
for (group = switch_xml_child(groups, "group"); group; group = group->next) {
|
||||
if ((users = switch_xml_child(group, "users"))) {
|
||||
|
||||
Reference in New Issue
Block a user