diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-01-28 11:03:52 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-01-28 11:03:52 +0300 |
commit | 9560abea102b8cd4927c9350bbd0a1a2f1800ea6 (patch) | |
tree | be0e143dea5e641c677096485cbb9e25394e9033 /lib/pleroma/web/controller_helper.ex | |
parent | d99650270b980c006690a7051a2d5cffe07779f1 (diff) | |
download | pleroma-9560abea102b8cd4927c9350bbd0a1a2f1800ea6.tar.gz |
[#534] Refactoring / tweaks per MR review.
Diffstat (limited to 'lib/pleroma/web/controller_helper.ex')
-rw-r--r-- | lib/pleroma/web/controller_helper.ex | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/pleroma/web/controller_helper.ex b/lib/pleroma/web/controller_helper.ex index 13cf1877f..14e3d19fd 100644 --- a/lib/pleroma/web/controller_helper.ex +++ b/lib/pleroma/web/controller_helper.ex @@ -10,9 +10,4 @@ defmodule Pleroma.Web.ControllerHelper do |> put_status(status) |> json(json) end - - def set_requester_reachable(conn) do - with [referer] <- get_req_header(conn, "referer"), - do: Pleroma.Instances.set_reachable(referer) - end end |