From f74a90f65f8e5bde96b5eee4a5d585fb5f136595 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 12 Dec 2016 18:11:59 +0100 Subject: [PATCH] Removed obsolete sorting algorithm (datatables will do the sorting for us) --- settings.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/settings.php b/settings.php index 78dd9723..2a59f0f2 100644 --- a/settings.php +++ b/settings.php @@ -135,14 +135,6 @@ { array_push($dhcp_leases,["MAC"=>$line[1], "IP"=>$line[2], "NAME"=>$line[3]]); } - - // // Sort $dhcpleases by IP (ASC) - // usort($dhcp_leases, function ($a, $b) { - // $explodea = explode(".",$a["IP"]); - // $explodeb = explode(".",$b["IP"]); - // if ($explodea == $explodeb) return 0; - // return ($explodea < $explodeb) ? -1 : 1; - // }); } ?>