71af32b - Add global object
[wowui.git] / RaidFrameIndicators.lua
index e672284..8bb26ef 100644 (file)
@@ -24,22 +24,6 @@ local function dPrint(s)
     DEFAULT_CHAT_FRAME:AddMessage("Indicators: ".. tostring(s));
 end
 
--- Hide buff/debuff icons
-local function hideBlizzardBuffs(frame)
-    -- used in CompactUnitFrame_UpdateAuras (Buffs, Debuffs, DispellableDebuffs)
-    if frame.optionTable.displayBuffs then
-        frame.optionTable.displayBuffs = false
-    end
-    if frame.optionTable.displayDebuffs then
-        frame.optionTable.displayDebuffs = false
-    end
-    -- TODO
-    if frame.optionTable.displayDispelDebuffs then
-        frame.optionTable.displayDispelDebuffs = false
-    end
-end
-hooksecurefunc("DefaultCompactUnitFrameSetup", hideBlizzardBuffs);
-
 -- Set the appearance of the FontStrings
 local function setupIndicatorAppearance(frame)
     local frameName = frame:GetName();