MDL-50524 assign: improve method visibility and upgrade.txt
This commit is contained in:
@@ -2317,7 +2317,13 @@ class assign {
|
||||
return $return;
|
||||
}
|
||||
|
||||
private function get_all_groups($userid) {
|
||||
/**
|
||||
* Gets all groups the user is a member of.
|
||||
*
|
||||
* @param int $userid Teh id of the user who's groups we are checking
|
||||
* @return array The group objects
|
||||
*/
|
||||
protected function get_all_groups($userid) {
|
||||
if (isset($this->usergroups[$userid])) {
|
||||
return $this->usergroups[$userid];
|
||||
}
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
This files describes API changes in the assign code.
|
||||
|
||||
=== 3.0 ===
|
||||
* assign_submission_status renderable now requires $usergroups in its constructor
|
||||
|
||||
=== 2.9 ===
|
||||
* External parameter now returns PARAM_RAW instead of PARAM_TEXT for webservices using feedback comments.
|
||||
* External function mod_assign_external::get_assignments now returns additional optional fields:
|
||||
|
||||
Reference in New Issue
Block a user