From f6f2d91f8eaae14d975633d6495ef64242853118 Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 25 Nov 2026 17:48:30 +0100 Subject: [PATCH] Persist native recognition helper with the personal achievement catalogue --- website/integrations/recognition.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 website/integrations/recognition.php diff --git a/website/integrations/recognition.php b/website/integrations/recognition.php new file mode 100644 index 00000000..a44cda61 --- /dev/null +++ b/website/integrations/recognition.php @@ -0,0 +1,19 @@ +=0&&floor((float)$posts)===(float)$posts?(int)$posts:0; + return array_values(array_filter(dune_recognition_catalog()['forum'],fn($a)=>$showcase||$count>=$a['threshold'])); +}