remove debug function

This commit is contained in:
shagu
2016-10-16 11:42:32 +02:00
parent 3f9e5e674a
commit bb0a12a3fc
2 changed files with 0 additions and 9 deletions
-3
View File
@@ -52,19 +52,16 @@ function pfUI:UpdateConfig(group, subgroup, entry, value)
-- update config
if not subgroup and entry and value and not pfUI_config[group][entry] then
pfUI:Debug("Creating Config: " .. entry .. " with value " .. value)
pfUI_config[group][entry] = value
end
-- check for missing config subgroups
if subgroup and not pfUI_config[group][subgroup] then
pfUI:Debug("Creating Subgroup: " .. subgroup)
pfUI_config[group][subgroup] = {}
end
-- update config in subgroup
if subgroup and entry and value and not pfUI_config[group][subgroup][entry] then
pfUI:Debug("Creating Config in Subgroup (" .. subgroup .. "): " .. entry .. " with value " .. value)
pfUI_config[group][subgroup][entry] = value
end
end