mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
"MDL-19118, added parameter to comment object"
This commit is contained in:
parent
3099dc73e7
commit
58ee83619c
@ -102,6 +102,7 @@ class blog_entry {
|
||||
$cmt = new stdClass();
|
||||
$cmt->contextid = get_context_instance(CONTEXT_USER, $user->id)->id;
|
||||
$cmt->area = 'format_blog';
|
||||
$cmt->env = 'blog';
|
||||
$cmt->itemid = $this->id;
|
||||
$options->comments = $cmt;
|
||||
$this->summary = file_rewrite_pluginfile_urls($this->summary, 'pluginfile.php', SYSCONTEXTID, 'blog_post', $this->id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user