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;
    }
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;
    }
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 ; }
Returns non-localised description of what happened.

@return string
Returns non - localised description of what happened .