forked from leftypol/leftypol
overboards: remove obsolete code
This commit is contained in:
parent
52dd8960a9
commit
026a70988c
1 changed files with 0 additions and 16 deletions
|
@ -215,20 +215,4 @@
|
||||||
'boardlist' => createBoardlist($mod),
|
'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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue