25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Remove obsoleted function call

This commit is contained in:
Evgeniy Khramtsov 2012-04-09 10:43:49 +10:00
parent 2c228e6414
commit 959e0ff1c9

View File

@ -292,7 +292,7 @@ get_proc_name({local, Name}) ->
exit(process_not_registered)
end;
get_proc_name({global, Name}) ->
case global:safe_whereis_name(Name) of
case global:whereis_name(Name) of
undefined ->
exit(process_not_registered_globally);
Pid when Pid==self() ->
@ -314,7 +314,7 @@ get_parent() ->
name_to_pid(Name) ->
case whereis(Name) of
undefined ->
case global:safe_whereis_name(Name) of
case global:whereis_name(Name) of
undefined ->
exit(could_not_find_registerd_name);
Pid ->