remove unused settings from /api/statusnet/config
authorhakabahitoyo <hakabahitoyo@example.com>
Sun, 26 Aug 2018 08:40:15 +0000 (17:40 +0900)
committerhakabahitoyo <hakabahitoyo@example.com>
Sun, 26 Aug 2018 08:40:15 +0000 (17:40 +0900)
lib/pleroma/web/twitter_api/controllers/util_controller.ex

index 7dbac620ef2cffe264f3ea00813a44e1b76ee52e..d1ecebf619c6f3d0fed094bf23f7a89301b96b55 100644 (file)
@@ -172,10 +172,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
               redirectRootLogin: Keyword.get(@instance_fe, :redirect_root_login),
               chatDisabled: !Keyword.get(@instance_chat, :enabled),
               showInstanceSpecificPanel: Keyword.get(@instance_fe, :show_instance_panel),
-              showWhoToFollowPanel: Keyword.get(@instance_fe, :show_who_to_follow_panel),
               scopeOptionsEnabled: Keyword.get(@instance_fe, :scope_options_enabled),
-              whoToFollowProvider: Keyword.get(@instance_fe, :who_to_follow_provider),
-              whoToFollowLink: Keyword.get(@instance_fe, :who_to_follow_link),
               collapseMessageWithSubject:
                 Keyword.get(@instance_fe, :collapse_message_with_subject)
             }