aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma
diff options
context:
space:
mode:
authorlambda <lain@soykaf.club>2019-03-26 14:46:01 +0000
committerlambda <lain@soykaf.club>2019-03-26 14:46:01 +0000
commit3f44433ebd96d920ddda99178d0d4a09b7263c2d (patch)
tree014b2a0ac7c3f261e09a46b86e5b5d1c8865d3f8 /lib/pleroma
parent15aa94f40f73444d67da7cb71ec219b97ec5142e (diff)
parentaacdcac1be43aa31fb61407719ba7fb62cee4d79 (diff)
downloadpleroma-3f44433ebd96d920ddda99178d0d4a09b7263c2d.tar.gz
Merge branch 'refactor/remove-activity-representer' into 'develop'
Remove ActivityRepresenter See merge request pleroma/pleroma!980
Diffstat (limited to 'lib/pleroma')
-rw-r--r--lib/pleroma/web/twitter_api/representers/activity_representer.ex15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/pleroma/web/twitter_api/representers/activity_representer.ex b/lib/pleroma/web/twitter_api/representers/activity_representer.ex
deleted file mode 100644
index 55c612ddd..000000000
--- a/lib/pleroma/web/twitter_api/representers/activity_representer.ex
+++ /dev/null
@@ -1,15 +0,0 @@
-# Pleroma: A lightweight social networking server
-# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
-# SPDX-License-Identifier: AGPL-3.0-only
-
-# FIXME: Remove this module?
-# THIS MODULE IS DEPRECATED! DON'T USE IT!
-# USE THE Pleroma.Web.TwitterAPI.Views.ActivityView MODULE!
-defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do
- def to_map(activity, opts) do
- Pleroma.Web.TwitterAPI.ActivityView.render(
- "activity.json",
- Map.put(opts, :activity, activity)
- )
- end
-end