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
-6
View File
@@ -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,