projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42e78a0
)
@env is not used
author
Mark Felder
<feld@FreeBSD.org>
Wed, 7 Oct 2020 17:55:16 +0000
(12:55 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Wed, 7 Oct 2020 17:55:16 +0000
(12:55 -0500)
lib/pleroma/application.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/application.ex
b/lib/pleroma/application.ex
index e73d89350d35c1789e5720c591cbbe70bf6dc3fd..02dd3993970dd3737eede97293fc7ed04684473d 100644
(file)
--- a/
lib/pleroma/application.ex
+++ b/
lib/pleroma/application.ex
@@
-99,7
+99,7
@@
defmodule Pleroma.Application do
] ++
task_children(@env) ++
dont_run_in_test(@env) ++
- chat_child(
@env,
chat_enabled?()) ++
+ chat_child(chat_enabled?()) ++
[
Pleroma.Web.Endpoint,
Pleroma.Gopher.Server
@@
-201,11
+201,11
@@
defmodule Pleroma.Application do
]
end
- defp chat_child(
_env,
true) do
+ defp chat_child(true) do
[Pleroma.Web.ChatChannel.ChatChannelState]
end
- defp chat_child(_
, _
), do: []
+ defp chat_child(_), do: []
defp task_children(:test) do
[