mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-53700 competency: Migrating comment related APIs to core
This commit is contained in:
parent
7160fb19d7
commit
4aa6acb22a
8 changed files with 261 additions and 258 deletions
|
@ -200,7 +200,7 @@ class plan extends persistent {
|
|||
$comment = new comment((object) array(
|
||||
'client_id' => 'plancommentarea' . $this->get_id(),
|
||||
'context' => $this->get_context(),
|
||||
'component' => 'tool_lp',
|
||||
'component' => 'competency', // This cannot be named 'core_competency'.
|
||||
'itemid' => $this->get_id(),
|
||||
'area' => 'plan',
|
||||
'showcount' => true,
|
||||
|
|
|
@ -195,7 +195,7 @@ class user_competency extends persistent {
|
|||
|
||||
$comment = new comment((object) array(
|
||||
'context' => $this->get_context(),
|
||||
'component' => 'tool_lp',
|
||||
'component' => 'competency', // This cannot be named 'core_competency'.
|
||||
'itemid' => $this->get_id(),
|
||||
'area' => 'user_competency',
|
||||
'showcount' => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue