overboards: remove obsolete code

This commit is contained in:
Zankaria 2024-10-20 11:52:52 +02:00 committed by Zankaria
parent 52dd8960a9
commit 026a70988c

View file

@ -215,20 +215,4 @@
'boardlist' => createBoardlist($mod),
]);
}
};
if (!function_exists('array_column')) {
/**
* Pick out values from subarrays by given key
*/
function array_column($array, $key) {
$result = [];
foreach ($array as $val) {
$result[] = $val[$key];
}
return $result;
}
}