mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-41192 course: Can not write to the read-only properties of cm_info
This commit is contained in:
parent
4e4309064d
commit
88715ba2c0
5 changed files with 86 additions and 78 deletions
|
@ -1077,7 +1077,7 @@ class completion_info {
|
|||
* Obtains a list of activities for which completion is enabled on the
|
||||
* course. The list is ordered by the section order of those activities.
|
||||
*
|
||||
* @return array Array from $cmid => $cm of all activities with completion enabled,
|
||||
* @return cm_info[] Array from $cmid => $cm of all activities with completion enabled,
|
||||
* empty array if none
|
||||
*/
|
||||
public function get_activities() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue