2600hz/kazoo — pull request #173 by lazedo (2013-12-05 02:23:30+00:00)
Title: devices in sip_auth are deleted on blocking_refresh

devices in sip_auth are deleted when blocking_refresh is called or when registrar app starts.

the problem is with remove_aggregate_devices, the clause "orelse" causes all the devices to be deleted.

also reverted the order to remove/add instead of add/remove