Browse Source

Remove redundant code

Alan Lam 4 years ago
parent
commit
5cab888403
1 changed files with 0 additions and 3 deletions
  1. 0 3
      controllers/locations.php

+ 0 - 3
controllers/locations.php

@@ -108,9 +108,6 @@ $sql = "SELECT `location`.*, COUNT(`test`.`id`) AS `test_count`, SUM(IF(`test`.`
 
 $locations = Location::findBySql($sql);
 
-
-//$locations = Location::query($nvp, ["sort" => $query_sort, "order" => $order]);
-
 if($sort === "internal-id") {
 	usort($locations, static function(Location $a, Location $b) {
 		return strnatcasecmp($a->internal_id, $b->internal_id);