X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FObject%2FThread.php;h=89ed5a9408bd506e7f340db4ec3b82ce33410e01;hb=ce177f22c867d4b9dc904914d6f80a5c7b988453;hp=426e9f802c0b326b54e0018fe45574171e3a9718;hpb=3282ce53894b624893ee2989747a59866ab4b137;p=friendica.git diff --git a/src/Object/Thread.php b/src/Object/Thread.php index 426e9f802c..89ed5a9408 100644 --- a/src/Object/Thread.php +++ b/src/Object/Thread.php @@ -7,7 +7,6 @@ namespace Friendica\Object; use Friendica\BaseObject; use Friendica\Core\Logger; use Friendica\Core\Protocol; -use Friendica\Object\Post; use Friendica\Util\Security; /** @@ -171,7 +170,7 @@ class Thread extends BaseObject * * We should find a way to avoid using those arguments (at least most of them) * - * @param object $conv_responses data + * @param array $conv_responses data * * @return mixed The data requested on success * false on failure @@ -179,9 +178,7 @@ class Thread extends BaseObject */ public function getTemplateData($conv_responses) { - $a = self::getApp(); $result = []; - $i = 0; foreach ($this->parents as $item) { if ($item->getDataValue('network') === Protocol::MAIL && local_user() != $item->getDataValue('uid')) {