Quantcast

Removed check conflicts due to ver string in elvui beta.

Repooc [07-30-14 - 06:38]
Removed check conflicts due to ver string in elvui beta.
Filename
ElvUI_SLE/core/core.lua
ElvUI_SLE/core/staticpopups.lua
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.'],