Permalink
Browse files

WHISTLE-42: not the best idea ever

  • Loading branch information...
1 parent ef239ac commit ce264f3ab203d484d24de81781fa6f83c8d01812 @k-anderson k-anderson committed Aug 16, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 whistle_apps/apps/registrar/src/reg_util.erl
@@ -198,14 +198,6 @@ reg_removed_from_cache({?MODULE, registration, Realm, User}, Reg, expire) ->
wapi_notifications:publish_deregister(Event)
end,
ok;
-reg_removed_from_cache({?MODULE, sip_credentials, Realm, User}, _, expire) ->
- _ = case lookup_registration(Realm, User) of
- {error, not_found} -> ok;
- {ok, _} ->
- lager:debug("preemptively refreshing sip credentials for ~s@~s", [User, Realm]),
- lookup_auth_user(User, Realm)
- end,
- ok;
reg_removed_from_cache(_, _, _) ->
ok.

0 comments on commit ce264f3

Please sign in to comment.