summaryrefslogtreecommitdiff
path: root/includes/rainbow.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-02-25 19:59:31 +0100
committerMinteck <contact@minteck.org>2023-02-25 19:59:31 +0100
commit3d77712a9ab014635c75a33ea0f491bbda6aead3 (patch)
tree616bef5215db4f1d1cea2566079db2a130363e6b /includes/rainbow.inc
parent15bb1453008237edbc2cb4e82a9eb44db6f99794 (diff)
downloadpluralconnect-3d77712a9ab014635c75a33ea0f491bbda6aead3.tar.gz
pluralconnect-3d77712a9ab014635c75a33ea0f491bbda6aead3.tar.bz2
pluralconnect-3d77712a9ab014635c75a33ea0f491bbda6aead3.zip
Updated 16 files and added 2 files (automated)
Diffstat (limited to 'includes/rainbow.inc')
-rw-r--r--includes/rainbow.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/includes/rainbow.inc b/includes/rainbow.inc
index fba960e..01b234c 100644
--- a/includes/rainbow.inc
+++ b/includes/rainbow.inc
@@ -45,14 +45,6 @@ function getMembersByColor($hideCloudburst = false): array {
uasort($members, function ($a, $b) {
return $a['hsl'][0] - $b['hsl'][0];
});
- $members = [
- ...array_filter($members, function ($i) {
- return $i['hsl'][2] < 0.9 || $i['hsl'][1] > 0.2;
- }),
- ...array_filter($members, function ($i) {
- return $i['hsl'][2] >= 0.9 || $i['hsl'][1] <= 0.2;
- })
- ];
$sorted = [];
foreach ($members as $data) {