commit: e170fc40dd46b2cfa4970c5d8174bdcfd6cf821c
parent be5c5118cb296792d82c007fe3b83d8795dca4b0
Author: tusooa <tusooa@kazv.moe>
Date: Tue, 9 May 2023 21:38:28 -0400
Fix build warning
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/lib/pleroma/object/updater.ex b/lib/pleroma/object/updater.ex
@@ -253,7 +253,6 @@ defmodule Pleroma.Object.Updater do
def do_update_and_invalidate_cache(orig_object, updated_object, touch_changeset? \\ false) do
orig_object_ap_id = updated_object["id"]
- orig_object = Object.get_by_ap_id(orig_object_ap_id)
orig_object_data = orig_object.data
%{