mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Remove obsoleted function call
This commit is contained in:
parent
2c228e6414
commit
959e0ff1c9
@ -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 ->
|
||||
|
Loading…
Reference in New Issue
Block a user