From ad62bdf2400acfcbeac2335d4bd7db093890a251 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Wed, 15 Jun 2016 14:23:29 +0200 Subject: [PATCH] source: remove sources_sorted table On closer investigation nothing was using this interface. Signed-off-by: Tobias Ulmer --- local/source.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/local/source.lua b/local/source.lua index 7b79ecc..0bd376f 100644 --- a/local/source.lua +++ b/local/source.lua @@ -123,8 +123,6 @@ end --- Dictionary holding all source objects indexed by their name. source.sources = {} ---- Array holding all source objects in alphabetical order. -source.sources_sorted = {} --- Gather source paths. -- @param info Info table. @@ -262,11 +260,6 @@ function source.load_source_configs(info) source.sources[src:get_name()] = src end - for sourcename,_ in pairs(source.sources) do - table.insert(source.sources_sorted, sourcename) - end - table.sort(source.sources_sorted) - return true end -- 2.39.5