MDL-45789 mod_wiki: removed undefined "$this->other['itemid']" from the comments_viewed event description
This commit is contained in:
@@ -51,8 +51,8 @@ class comments_viewed extends \core\event\comments_viewed {
|
||||
* @return string
|
||||
*/
|
||||
public function get_description() {
|
||||
return "The user with id '$this->userid' viewed a comment with id '$this->objectid' on the page with id " .
|
||||
"'{$this->other['itemid']}' for the wiki with the course module id '$this->contextinstanceid'.";
|
||||
return "The user with id '$this->userid' viewed the comments for the page with id '$this->objectid' for the wiki " .
|
||||
"with the course module id '$this->contextinstanceid'.";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user