From f7f86c2e7ab71f3f42a5657f93b86963992c1161 Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Mon, 27 Nov 2023 14:25:23 +0100 Subject: [PATCH] Remove is_selfhosted from layout view --- lib/plausible_web/views/layout_view.ex | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/plausible_web/views/layout_view.ex b/lib/plausible_web/views/layout_view.ex index 4a83eaeca..4a3ff41c4 100644 --- a/lib/plausible_web/views/layout_view.ex +++ b/lib/plausible_web/views/layout_view.ex @@ -121,9 +121,4 @@ defmodule PlausibleWeb.LayoutView do def is_current_tab(conn, tab) do List.last(conn.path_info) == tab end - - defp is_selfhost() do - # XXX - Application.get_env(:plausible, :is_selfhost) - end end