Skip to content

Commit

Permalink
Core: remove deprecated code
Browse files Browse the repository at this point in the history
  • Loading branch information
Zidras committed Dec 26, 2023
1 parent 90164ee commit 3df5e73
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions DBM-Core/DBM-Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8305,10 +8305,6 @@ do
if soundOption and type(soundOption) == "boolean" then
soundOption = 0--No Sound
end
if type(spellId) == "string" and spellId:match("OptionVersion") then
print("newAnnounce for "..color.." is using OptionVersion hack. this is depricated")
return
end
local text, spellName = setText(announceType, alternateSpellId or spellId, castTime, preWarnTime, nil, spellId)
icon = icon or spellId
local obj = setmetatable( -- todo: fix duplicate code
Expand Down Expand Up @@ -8696,10 +8692,6 @@ do
error("NewYell: you must provide either spellId or yellText", 2)
return
end
if type(spellId) == "string" and spellId:match("OptionVersion") then
DBM:Debug("newYell for: "..yellText.." is using OptionVersion hack. This is depricated", 2)
return
end
local optionVersion
if type(optionName) == "number" then
optionVersion = optionName
Expand Down

0 comments on commit 3df5e73

Please sign in to comment.