original_string: public function get_description() {
          $retstring = "The user with id '$this->userid' restored the course with id '$this->courseid'.";
  
          if (isset($this->other['originalcourseid'])) {
              $originalcourseid = $this->other['originalcourseid'];
              $retstring = "The user with id '$this->userid' restored old course with id " .
                  "'$originalcourseid' to a new course with id '$this->courseid'.";
          }
  
          return $retstring;
      }
code: public function get_description() {
          $retstring = "The user with id '$this->userid' restored the course with id '$this->courseid'.";
  
          if (isset($this->other['originalcourseid'])) {
              $originalcourseid = $this->other['originalcourseid'];
              $retstring = "The user with id '$this->userid' restored old course with id " .
                  "'$originalcourseid' to a new course with id '$this->courseid'.";
          }
  
          return $retstring;
      }
code_tokens: public function get_description ( ) { $ retstring = "The user with id '$this->userid' restored the course with id '$this->courseid'." ; if ( isset ( $ this -> other [ 'originalcourseid' ] ) ) { $ originalcourseid = $ this -> other [ 'originalcourseid' ] ; $ retstring = "The user with id '$this->userid' restored old course with id " . "'$originalcourseid' to a new course with id '$this->courseid'." ; } return $ retstring ; }
docstring: Returns non-localised description of what happened.
  
  @return string
docstring_tokens: Returns non - localised description of what happened .