mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 04:00:02 +00:00
remove debug function
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -36,11 +36,9 @@ pfUI:SetScript("OnEvent", function()
|
||||
|
||||
pfUI:LoadConfig()
|
||||
if arg1 == "pfUI" then
|
||||
pfUI:Debug("pfUI module loader:")
|
||||
for i,m in pairs(this.modules) do
|
||||
if not pfUI[m] then
|
||||
pfUI.module[m]()
|
||||
pfUI:Debug("=> " .. m)
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -60,10 +58,6 @@ function pfUI:RegisterModule(n, f)
|
||||
table.insert(pfUI.modules, n)
|
||||
end
|
||||
|
||||
function pfUI:Debug(msg)
|
||||
-- DEFAULT_CHAT_FRAME:AddMessage(msg)
|
||||
end
|
||||
|
||||
pfUI.backdrop = {
|
||||
bgFile = "Interface\\AddOns\\pfUI\\img\\bg", tile = true, tileSize = 8,
|
||||
edgeFile = "Interface\\AddOns\\pfUI\\img\\border", edgeSize = 8,
|
||||
|
||||
Reference in New Issue
Block a user