Skip to content

Commit

Permalink
cleaup(LineSurge): Removed Orange Line Surge code (#2025)
Browse files Browse the repository at this point in the history
* cleaup(LineSurge): Removed Orange Line Surge code

* Removed unused plug
  • Loading branch information
kotva006 authored May 2, 2024
1 parent 3293279 commit 5d956ea
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 82 deletions.
46 changes: 0 additions & 46 deletions lib/dotcom_web/plugs/line_suspensions.ex

This file was deleted.

1 change: 0 additions & 1 deletion lib/dotcom_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ defmodule DotcomWeb.Router do
plug(DotcomWeb.Plugs.ClearCookies)
plug(DotcomWeb.Plugs.Cookies)
plug(:optional_disable_indexing)
plug(DotcomWeb.Plugs.LineSuspensions)
end

pipeline :browser_live do
Expand Down
5 changes: 0 additions & 5 deletions lib/dotcom_web/templates/layout/root.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@
<script defer src="<%= static_url(@conn, "/js/iewarning.js") %>"></script>
<% end %>
<div id="ie-warning" class="c-ie-warning"></div>
<%= if assigns[:line_suspensions] do %>
<script data-line-suspensions type="text/plain">
<%= raw Jason.encode!(@line_suspensions) %>
</script>
<% end %>
</div>

<%= if google_tag_manager_id() do %>
Expand Down
30 changes: 0 additions & 30 deletions test/dotcom_web/plugs/line_suspensions_test.exs

This file was deleted.

0 comments on commit 5d956ea

Please sign in to comment.