Merge branch 'fix/inconsistent-reference' into 'develop'
[akkoma] / lib / pleroma / config.ex
index b35491fdc3564cc855f6b22bbae28ffe44953dea..2e15a37193ada875eeb73746d30b2bc37e464a68 100644 (file)
@@ -99,8 +99,4 @@ defmodule Pleroma.Config do
   def oauth_consumer_strategies, do: get([:auth, :oauth_consumer_strategies], [])
 
   def oauth_consumer_enabled?, do: oauth_consumer_strategies() != []
-
-  def oauth_admin_scopes(scopes) when is_list(scopes) do
-    Enum.map(scopes, fn scope -> "admin:#{scope}" end)
-  end
 end