Quantcast

Remove old unused function

Adrian L Lange [10-17-12 - 22:16]
Remove old unused function
Filename
Monomyth.lua
diff --git a/Monomyth.lua b/Monomyth.lua
index 599fbdf..4da4530 100644
--- a/Monomyth.lua
+++ b/Monomyth.lua
@@ -56,20 +56,6 @@ local function GetCreatureID()
 	return tonumber(string.sub(UnitGUID('npc') or '', -12, -9), 16)
 end

-local function GetNumGossipCompletedQuests()
-	local completed = 0
-	local active = GetNumGossipActiveQuests()
-	if(active > 0) then
-		for index = 1, active do
-			if(select(index + 3, (GetGossipActiveQuests()))) then
-				completed = completed + 1
-			end
-		end
-	end
-
-	return completed
-end
-
 Monomyth:Register('GOSSIP_SHOW', function()
 	local active = GetNumGossipActiveQuests()
 	if(active > 0) then