|
@@ 390-393 (lines=4) @@
|
| 387 |
|
{ |
| 388 |
|
$groups = array(); |
| 389 |
|
|
| 390 |
|
foreach ($this->query_groups('autogroup_default_exempt = 1') as $row) |
| 391 |
|
{ |
| 392 |
|
$groups[$row['group_id']] = $this->group_helper->get_name_string('full', $row['group_id'], $row['group_name'], $row['group_colour']); |
| 393 |
|
} |
| 394 |
|
|
| 395 |
|
return $groups; |
| 396 |
|
} |
|
@@ 413-419 (lines=7) @@
|
| 410 |
|
{ |
| 411 |
|
$excluded_groups = json_decode($excluded_groups, true); |
| 412 |
|
|
| 413 |
|
foreach ($this->query_groups() as $row) |
| 414 |
|
{ |
| 415 |
|
if (in_array($row['group_id'], $excluded_groups)) |
| 416 |
|
{ |
| 417 |
|
$groups[$row['group_id']] = $this->group_helper->get_name_string('full', $row['group_id'], $row['group_name'], $row['group_colour']); |
| 418 |
|
} |
| 419 |
|
} |
| 420 |
|
} |
| 421 |
|
|
| 422 |
|
return $groups; |