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 6d8519a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions DBM-Core/DBM-Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ local function currentFullDate()
end

DBM = {
Revision = parseCurseDate("20231226224550"),
Revision = parseCurseDate("20231226231655"),
DisplayVersion = "10.1.10 alpha", -- the string that is shown as version
ReleaseRevision = releaseDate(2023, 12, 26) -- the date of the latest stable version that is available, optionally pass hours, minutes, and seconds for multiple releases in one day
}
Expand Down 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 6d8519a

Please sign in to comment.