From 575662c2d7eecdacd6b757ef0853c90c6365d0da Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 7 Jul 2018 11:39:37 +0000 Subject: [PATCH] Just some code cleanup --- src/Model/Item.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index 0757a09b1a..a95bc184f1 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -2892,12 +2892,9 @@ class Item extends BaseObject dba::update('item', $fields, ['id' => $like_item['id']]); // Clean up the Diaspora signatures for this like - // Go ahead and do it even if Diaspora support is disabled. We still want to clean up - // if it had been enabled in the past dba::delete('sign', ['iid' => $like_item['id']]); - $like_item_id = $like_item['id']; - Worker::add(PRIORITY_HIGH, "Notifier", "like", $like_item_id); + Worker::add(PRIORITY_HIGH, "Notifier", "like", $like_item['id']); if (!$event_verb_flag || $like_item['verb'] == $activity) { return true; -- 2.39.5