From 41eb62bc2b7dd6a4c20d6f7f3740d7d8a605a66f Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 8 Nov 2021 16:53:07 +0100 Subject: [PATCH] Remove tzworld loading dynamically Signed-off-by: Thomas Citharel --- lib/mobilizon.ex | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/mobilizon.ex b/lib/mobilizon.ex index 608bb4c2c..f200c5254 100644 --- a/lib/mobilizon.ex +++ b/lib/mobilizon.ex @@ -14,7 +14,6 @@ defmodule Mobilizon do import Cachex.Spec - alias Mix.Tasks.TzWorld.Update, as: TzWorldUpdate alias Mobilizon.{Config, Storage, Web} alias Mobilizon.Federation.ActivityPub alias Mobilizon.Service.{ErrorPage, ErrorReporting} @@ -37,9 +36,6 @@ defmodule Mobilizon do @spec start(:normal | {:takeover, node} | {:failover, node}, term) :: {:ok, pid} | {:ok, pid, term} | {:error, term} def start(_type, _args) do - # We update TzWorld at runtime so that the data is not contained in releases - TzWorldUpdate.run(nil) - children = [ # supervisors