X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FObject%2FThread.php;h=89ed5a9408bd506e7f340db4ec3b82ce33410e01;hb=1eb607b351bf5a63711745adc6e2e74f500cc1bb;hp=c36aa8ea6e9390301896f7b6f402a88e4a32ff80;hpb=cb3f09ae4f344ff83fca9dc435f3cbad1972737f;p=friendica.git diff --git a/src/Object/Thread.php b/src/Object/Thread.php index c36aa8ea6e..89ed5a9408 100644 --- a/src/Object/Thread.php +++ b/src/Object/Thread.php @@ -170,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 @@ -178,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')) {