MDL-45789 mod_wiki: removed undefined "$this->other['itemid']" from the comments_viewed event description

This commit is contained in:
Mark Nelson
2014-06-03 15:23:50 -07:00
parent d73b1f3e71
commit 1ffce0c735
+2 -2
View File
@@ -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'.";
}
/**