mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 09:55:33 +02:00
MDL-11455 renamed function I just added, to make it more consistent (sorry)
This commit is contained in:
parent
18d43e964b
commit
cdaa941032
@ -537,7 +537,7 @@ function groups_get_activity_group($cm, $update=false) {
|
||||
* @param int $userid User ID (defaults to current user)
|
||||
* @return array An array of group objects, or false if none
|
||||
*/
|
||||
function groups_get_allowed_groups($cm,$userid=0) {
|
||||
function groups_get_activity_allowed_groups($cm,$userid=0) {
|
||||
// Use current user by default
|
||||
global $USER;
|
||||
if(!$userid) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user