Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Remove unused function

Uku Taht0f43f4a9df42
diff --git a/lib/plausible/site/admin.ex b/lib/plausible/site/admin.ex
index 4c8fc863bc..2d4e377ef0 100644
--- a/lib/plausible/site/admin.ex
+++ b/lib/plausible/site/admin.ex
@@ -81,10 +81,6 @@ defmodule Plausible.SiteAdmin do
def transfer_data(_, _), do: {:error, "Please select exactly one site for this action"}
- defp domain_exists?(domain) do
- Repo.exists?(from s in Plausible.Site, where: s.domain == ^domain)
- end
-
def session_transfer_query(from_domain, to_domain) do
fields = get_struct_fields(Plausible.ClickhouseSession)