diff options
author | Steven Barth <steven@midlink.org> | 2008-11-02 13:43:17 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-11-02 13:43:17 +0000 |
commit | 9e4c03a9c35a2ff29030a645bccf5984dd2978d6 (patch) | |
tree | 081daf23f91851e6b7a4e031a1933cf1fc4cea38 /libs | |
parent | 9d85bd73e5562ae72715935187ce0d55c3009d24 (diff) |
Bump UCI version
Diffstat (limited to 'libs')
-rw-r--r-- | libs/uci/luasrc/model/uci.lua | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libs/uci/luasrc/model/uci.lua b/libs/uci/luasrc/model/uci.lua index 587cd63c0..ecb8f47d0 100644 --- a/libs/uci/luasrc/model/uci.lua +++ b/libs/uci/luasrc/model/uci.lua @@ -164,25 +164,6 @@ function Cursor.set_list(self, config, section, option, value) return false end - -Cursor._changes = Cursor.changes -function Cursor.changes(self, config) - if config then - return Cursor._changes(self, config) - else - local changes = Cursor._changes(self) - util.copcall(function() - for k,v in pairs(require "luci.fs".dir(self:get_savedir())) do - if v ~= "." and v ~= ".." then - util.update(changes, Cursor._changes(self, v)) - end - end - end) - return changes - end -end - - -- Return a list of initscripts affected by configuration changes. function Cursor._affected(self, configlist) configlist = type(configlist) == "table" and configlist or {configlist} |