]> git.ipfire.org Git - people/stevee/network.git/commitdiff
Drop deprecated listsort function
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Jul 2017 00:54:27 +0000 (20:54 -0400)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Jul 2017 00:54:27 +0000 (20:54 -0400)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.settings
src/functions/functions.util

index c73349ae0701a80039e54e3d20f23f5930e35d22..630f90aa91741c811af3ef7769c5d3cd512b4ced 100644 (file)
@@ -165,7 +165,7 @@ settings_write() {
        > ${settings_file}
 
        local param
-       for param in $(listsort $@); do
+       for param in $(list_sort $@); do
                echo "${param}=\"${!param}\"" >> ${settings_file}
        done
 }
@@ -185,7 +185,7 @@ settings_remove() {
 settings_print() {
        local param
 
-       for param in $(listsort $@); do
+       for param in $(list_sort $@); do
                printf "%-32s = %s\n" "${param}" "${!param}"
        done
 }
index 0a9b3d6b189385b3d608ee8aca61e32766abcd30..99af3b4e934d6d3217476db23084280307ea94cc 100644 (file)
@@ -82,12 +82,8 @@ warning_log() {
        log WARNING "$@"
 }
 
-# The next three functions are kept for backwards
+# The next two functions are kept for backwards
 # compatibility. The need to be dropped at some time.
-listsort() {
-       list_sort $@
-}
-
 listmatch() {
        list_match $@
 }