Remove tzworld loading dynamically

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-11-08 16:53:07 +01:00
parent e7662d3c77
commit 41eb62bc2b
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -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