[#114] Removed `confirm_email` action stub (to be addressed in a separate MR).
authorIvan Tashkinov <ivantashkinov@gmail.com>
Fri, 14 Dec 2018 11:01:00 +0000 (14:01 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Fri, 14 Dec 2018 11:01:00 +0000 (14:01 +0300)
lib/pleroma/web/twitter_api/twitter_api_controller.ex

index 0ae0a0fea05fa9da79d8cb450d4c3773f692bc3e..38eff8191785da354ed9b5dedeb8d83092855cb6 100644 (file)
@@ -333,8 +333,6 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
     end
   end
 
-  def confirm_email(_conn, _params), do: :noop
-
   def update_avatar(%{assigns: %{user: user}} = conn, params) do
     {:ok, object} = ActivityPub.upload(params, type: :avatar)
     change = Changeset.change(user, %{avatar: object.data})