original_string: protected function get_legacy_logdata() {
          $message = $this->get_record_snapshot('chat_messages', $this->objectid);
          return array($this->courseid, 'chat', 'talk', 'view.php?id=' . $this->contextinstanceid,
              $message->chatid, $this->contextinstanceid, $this->relateduserid);
      }
code: protected function get_legacy_logdata() {
          $message = $this->get_record_snapshot('chat_messages', $this->objectid);
          return array($this->courseid, 'chat', 'talk', 'view.php?id=' . $this->contextinstanceid,
              $message->chatid, $this->contextinstanceid, $this->relateduserid);
      }
code_tokens: protected function get_legacy_logdata ( ) { $ message = $ this -> get_record_snapshot ( 'chat_messages' , $ this -> objectid ) ; return array ( $ this -> courseid , 'chat' , 'talk' , 'view.php?id=' . $ this -> contextinstanceid , $ message -> chatid , $ this -> contextinstanceid , $ this -> relateduserid ) ; }
docstring: Return legacy log data.
  
  @return array
docstring_tokens: Return legacy log data .