From fdc5e12041b41838a679ade1a0e2f970c03f82f9 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Thu, 30 Aug 2012 14:35:30 +0200 Subject: [PATCH] Remove support for oUF 1.5.x --- oUF_Reputation.lua | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/oUF_Reputation.lua b/oUF_Reputation.lua index ebc55db..cbb3fa1 100644 --- a/oUF_Reputation.lua +++ b/oUF_Reputation.lua @@ -2,8 +2,6 @@ local __, ns = ... local oUF = ns.oUF or oUF assert(oUF, 'oUF Reputation was unable to locate oUF install') -local development = oUF.version == '1.6.0' - for tag, func in pairs({ ['currep'] = function() local __, __, min, __, value = GetWatchedFactionInfo() @@ -25,20 +23,11 @@ for tag, func in pairs({ return GetWatchedFactionInfo() end, }) do - if(development) then - oUF.Tags.Methods[tag] = func - oUF.Tags.Events[tag] = 'UPDATE_FACTION' - else - oUF.Tags[tag] = func - oUF.TagEvents[tag] = 'UPDATE_FACTION' - end + oUF.Tags.Methods[tag] = func + oUF.Tags.Events[tag] = 'UPDATE_FACTION' end -if(development) then - oUF.Tags.SharedEvents.UPDATE_FACTION = true -else - oUF.UnitlessTagEvents.UPDATE_FACTION = true -end +oUF.Tags.SharedEvents.UPDATE_FACTION = true local function Update(self, event, unit) local reputation = self.Reputation -- 1.7.9.5