From: Hypolite Petovan <hypolite@mrpetovan.com>
Date: Mon, 21 Jan 2019 21:05:42 +0000 (-0500)
Subject: Remove unused variable in Model\Item
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5ea033db33c62562dcd27dd70447a35b3d14326e;p=friendica.git

Remove unused variable in Model\Item
---

diff --git a/src/Model/Item.php b/src/Model/Item.php
index 300e80650d..67071db318 100644
--- a/src/Model/Item.php
+++ b/src/Model/Item.php
@@ -1790,13 +1790,13 @@ class Item extends BaseObject
 			DBA::insert('diaspora-interaction', ['uri-id' => $item['uri-id'], 'interaction' => $diaspora_signed_text], true);
 		}
 
-		$deleted = self::tagDeliver($item['uid'], $current_post);
+		self::tagDeliver($item['uid'], $current_post);
 
 		/*
 		 * current post can be deleted if is for a community page and no mention are
 		 * in it.
 		 */
-		if (!$deleted && !$dontcache) {
+		if (!$dontcache) {
 			$posted_item = self::selectFirst(self::ITEM_FIELDLIST, ['id' => $current_post]);
 			if (DBA::isResult($posted_item)) {
 				if ($notify) {