Skip to content

Commit a35d0b0

Browse files
authored
Remove a remnant of the old DeviceLink (#1870)
1 parent 22f65c3 commit a35d0b0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/nerves_hub_web/channels/device_channel.ex

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,6 @@ defmodule NervesHubWeb.DeviceChannel do
279279
end
280280
end
281281

282-
def handle_info({:push, event, payload}, socket) do
283-
push(socket, event, payload)
284-
{:noreply, socket}
285-
end
286-
287282
def handle_info(%Broadcast{event: "connection:heartbeat"}, socket) do
288283
# Expected message that is not used here :)
289284
{:noreply, socket}

0 commit comments

Comments
 (0)