summaryrefslogtreecommitdiff
path: root/includes/functions.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/functions.inc')
-rw-r--r--includes/functions.inc13
1 files changed, 1 insertions, 12 deletions
diff --git a/includes/functions.inc b/includes/functions.inc
index 915d41b..bdc961b 100644
--- a/includes/functions.inc
+++ b/includes/functions.inc
@@ -196,18 +196,7 @@ if (!function_exists("getMiniName")) {
if (!function_exists("withCaretakersDown")) {
function withCaretakersDown(array $ordered): array {
- $caretakersNo = [];
- $caretakersYes = [];
-
- foreach ($ordered as $item) {
- if ($item["_metadata"]["little"] === 2) {
- $caretakersYes[] = $item;
- } else {
- $caretakersNo[] = $item;
- }
- }
-
- return [...$caretakersNo, ...$caretakersYes];
+ return $ordered;
}
}