From 19130ebef7cc4f71cafd16b527a3e16e21a87836 Mon Sep 17 00:00:00 2001 From: Petr Macek Date: Tue, 11 Aug 2026 16:07:57 +0200 Subject: [PATCH] remove own array_column function, it causes problem with phpstan --- include/functions.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/functions.php b/include/functions.php index 4692b8c..e37bb09 100644 --- a/include/functions.php +++ b/include/functions.php @@ -52,14 +52,6 @@ function intropage_get_allowed_devices($user_id) { } } -if (!function_exists('array_column')) { - function array_column($array,$column_name) { - return array_map(function ($element) use ($column_name) { - return $element[$column_name]; - }, $array); - } -} - function process_page_request_variables() { set_default_action();