X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=object%2FConversation.php;h=bd7a95cf2a68e651e1a3d5f96ea14c6e58ad5ace;hb=159a7bda85d1514ed3a8d67cea7deca6ed96b437;hp=2b65ba468113c3c9778a43b631441d28768afc1e;hpb=1b82df60dbfe0a78d728e440042ca980cd3d9578;p=friendica.git diff --git a/object/Conversation.php b/object/Conversation.php index 2b65ba4681..bd7a95cf2a 100644 --- a/object/Conversation.php +++ b/object/Conversation.php @@ -87,8 +87,8 @@ class Conversation extends BaseObject { * Add a thread to the conversation * * Returns: - * _ The inserted item on success - * _ false on failure + * _ The inserted item on success + * _ false on failure */ public function add_thread($item) { $item_id = $item->get_id(); @@ -123,10 +123,11 @@ class Conversation extends BaseObject { * We should find a way to avoid using those arguments (at least most of them) * * Returns: - * _ The data requested on success - * _ false on failure + * _ The data requested on success + * _ false on failure */ public function get_template_data($alike, $dlike) { + global $a; $result = array(); foreach($this->threads as $item) { @@ -140,6 +141,7 @@ class Conversation extends BaseObject { $result[] = $item_data; } + //$a->mark_timestamp(); return $result; } @@ -147,8 +149,8 @@ class Conversation extends BaseObject { * Get a thread based on its item id * * Returns: - * _ The found item on success - * _ false on failure + * _ The found item on success + * _ false on failure */ private function get_thread($id) { foreach($this->threads as $item) {