From 768e18f7cfbf36bf138426c75122102febb8f4e0 Mon Sep 17 00:00:00 2001 From: Repooc Date: Wed, 30 Jul 2014 02:38:06 -0400 Subject: [PATCH] Removed check conflicts due to ver string in elvui beta. --- ElvUI_SLE/core/core.lua | 8 ++++---- ElvUI_SLE/core/staticpopups.lua | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ElvUI_SLE/core/core.lua b/ElvUI_SLE/core/core.lua index 5908039..e818910 100644 --- a/ElvUI_SLE/core/core.lua +++ b/ElvUI_SLE/core/core.lua @@ -14,10 +14,10 @@ local elvR = tonumber(GetAddOnMetadata("ElvUI_SLE", "X-ElvVersion")) E.SLEConfigs = {} --SLE['media'] = {} -function SLE:MismatchText() +--[[function SLE:MismatchText() local text = format(L['MSG_OUTDATED'],elvV,elvR) return text -end +end]] local function AddTutorials() --Additional tutorials tinsert(E.TutorialList, #(E.TutorialList)+1, L["To enable full values of health/power on unitframes in Shadow & Light add \":sl\" to the end of the health/power tag.\nExample: [health:current:sl]."]); @@ -64,9 +64,9 @@ end function SLE:Initialize() --ElvUI's version check - if elvV < elvR then + --[[if elvV < elvR then E:StaticPopup_Show("VERSION_MISMATCH") - end + end]] EP:RegisterPlugin(addon, GetOptions) if E.private.unitframe.enable then self:RegisterEvent("PLAYER_REGEN_DISABLED", UF.Update_CombatIndicator); diff --git a/ElvUI_SLE/core/staticpopups.lua b/ElvUI_SLE/core/staticpopups.lua index 4f89880..b8686cd 100644 --- a/ElvUI_SLE/core/staticpopups.lua +++ b/ElvUI_SLE/core/staticpopups.lua @@ -1,13 +1,13 @@ local E, L, V, P, G, _ = unpack(ElvUI); local SLE = E:GetModule('SLE') -E.PopupDialogs["VERSION_MISMATCH"] = { +--[[E.PopupDialogs["VERSION_MISMATCH"] = { text = SLE:MismatchText(), button1 = CLOSE, timeout = 0, whileDead = 1, preferredIndex = 3, -} +}]] E.PopupDialogs['ENHANCED_SLE_INCOMPATIBLE'] = { text = L['Oh lord, you have got ElvUI Enhanced and Shadow & Light both enabled at the same time. Select an addon to disable.'], -- 1.7.9.5