Commit 20f79667 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1765264: Group id not needed to be array for group_get_admin_ids()" into 18.04_STABLE

parents 71125b0d f7676dbd
......@@ -1972,7 +1972,7 @@ class ArtefactTypeFile extends ArtefactTypeFileBase {
safe_require('notification', 'internal');
foreach ($groups as $group) {
// find the group admins and notify them - there should be at least 1 admin for a group
if ($admins = group_get_admin_ids(array($group->id))) {
if ($admins = group_get_admin_ids($group->id)) {
$data = array(
'subject' => get_string('adm_group_notificationsubject', 'artefact.file'),
'message' => get_string('adm_group_notificationmessage', 'artefact.file', $group->name, ceil((int)$group->quotausedpercent), display_size($group->quota)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment