mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
Firewall: Diagnostics: Aliases - minor cleanup, sequenced array doesn't need to extract values
This commit is contained in:
parent
c929c73a50
commit
e85f1d74b2
@ -79,8 +79,6 @@ class AliasUtilController extends ApiControllerBase
|
||||
$backend = new Backend();
|
||||
$result = json_decode($backend->configdRun("filter list tables json"));
|
||||
if ($result !== null) {
|
||||
// return sorted (case insensitive)
|
||||
$result = array_values($result);
|
||||
sort($result, SORT_NATURAL | SORT_FLAG_CASE);
|
||||
}
|
||||
return $result;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user