]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Thread.php
Add missing non-empty data condition to Protocol\PortableContact
[friendica.git] / src / Object / Thread.php
index c36aa8ea6e9390301896f7b6f402a88e4a32ff80..89ed5a9408bd506e7f340db4ec3b82ce33410e01 100644 (file)
@@ -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')) {