fix: preserve old behaviour

* is_enabled wasn't cached before
This commit is contained in:
Saqib Ansari 2026-01-04 13:40:16 +05:30
parent 43d71dd02b
commit 142367c9b7

View file

@ -10,7 +10,6 @@ POSTHOG_PROJECT_FIELD = "posthog_project_id"
POSTHOG_HOST_FIELD = "posthog_host"
@site_cache()
def is_enabled():
return bool(
frappe.conf.get(POSTHOG_HOST_FIELD)