Remove unused env var

This commit is contained in:
José Valim 2025-04-12 07:18:10 +02:00
parent 331efa04f7
commit 0435b4392b
2 changed files with 1 additions and 9 deletions

View file

@ -186,14 +186,6 @@ defmodule Livebook do
config :livebook, :apps_path, apps_path config :livebook, :apps_path, apps_path
end end
# TODO: remove in v1.0
if System.get_env("LIVEBOOK_APPS_PATH_HUB_ID") do
IO.warn(
~s/Ignoring LIVEBOOK_APPS_PATH_HUB_ID, this environment variable is no longer used./,
[]
)
end
if apps_path_password = Livebook.Config.password!("LIVEBOOK_APPS_PATH_PASSWORD") do if apps_path_password = Livebook.Config.password!("LIVEBOOK_APPS_PATH_PASSWORD") do
config :livebook, :apps_path_password, apps_path_password config :livebook, :apps_path_password, apps_path_password
end end

View file

@ -92,7 +92,7 @@ defmodule Livebook.Application do
clear_env_vars() clear_env_vars()
Livebook.Hubs.connect_hubs() Livebook.Hubs.connect_hubs()
unless serverless?() do if not serverless?() do
load_apps_dir() load_apps_dir()
end end
end end