diff options
Diffstat (limited to 'includes/util/rainbow.inc')
-rw-r--r-- | includes/util/rainbow.inc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/includes/util/rainbow.inc b/includes/util/rainbow.inc index 3dc9480..027c771 100644 --- a/includes/util/rainbow.inc +++ b/includes/util/rainbow.inc @@ -3,15 +3,9 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/functions.inc"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/score.inc"; -function rainbow($hideCloudburst = false): array { +function rainbow(): array { $members = scoreOrderGlobal(); - if ($hideCloudburst) { - $members = array_filter($members, function ($i) { - return $i["_system"] === "gdapd"; - }); - } - $data = []; foreach ($members as $member) { @@ -39,8 +33,8 @@ function rainbow($hideCloudburst = false): array { return $data; } -function getMembersByColor($hideCloudburst = false, $ignoreHumans = false): array { - $members = rainbow($hideCloudburst); +function getMembersByColor($_ = false, $ignoreHumans = false): array { + $members = rainbow(); uasort($members, function ($a, $b) { return $a['hsl'][0] - $b['hsl'][0]; |