Fix OAuth cleanup worker unconditionally starting
authorrinpatch <rinpatch@sdf.org>
Thu, 15 Aug 2019 17:36:20 +0000 (20:36 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 15 Aug 2019 17:36:20 +0000 (20:36 +0300)
commitfba3c16d205408bf6ba00e40bad7d8b5a7abe510
tree3874902104600c2e36de53371a2665f727d3e171
parent1c8f58a30e7691d23ecece3dd3b2f5c5ef5d0137
Fix OAuth cleanup worker unconditionally starting

!1576 removed enabled/disabled check from the worker, in favor of just
not starting it in application.ex if disabled. However a line
unconditionally starting the worker was removed
lib/pleroma/application.ex