summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/system_routes_edit.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/usr/local/www/system_routes_edit.php b/usr/local/www/system_routes_edit.php
index 110375b..4fc531e 100755
--- a/usr/local/www/system_routes_edit.php
+++ b/usr/local/www/system_routes_edit.php
@@ -39,19 +39,6 @@
##|*MATCH=system_routes_edit.php*
##|-PRIV
-function staticroutecmp($a, $b) {
- return strcmp($a['network'], $b['network']);
-}
-
-function staticroutes_sort() {
- global $g, $config;
-
- if (!is_array($config['staticroutes']['route']))
- return;
-
- usort($config['staticroutes']['route'], "staticroutecmp");
-}
-
require_once("guiconfig.inc");
require_once("filter.inc");
require_once("util.inc");
@@ -209,7 +196,6 @@ if ($_POST) {
}
}
file_put_contents("{$g['tmp_path']}/.system_routes.apply", serialize($toapplylist));
- staticroutes_sort();
mark_subsystem_dirty('staticroutes');
OpenPOWER on IntegriCloud