Quantcast

minor clean up of the last commit

ckaotik [10-31-10 - 13:11]
minor clean up of the last commit
Filename
helper.lua
diff --git a/helper.lua b/helper.lua
index f639887..94e9aad 100644
--- a/helper.lua
+++ b/helper.lua
@@ -588,21 +588,6 @@ function BrokerGarbage:GetCached(itemID)
 end

 -- returns total bag slots and free bag slots of your whole inventory
---[[function BrokerGarbage:GetBagSlots()
-	local total, free = 0, 0
-	local num
-
-	for i = 0, 4 do
-		num = GetContainerNumSlots(i)
-		if num then
-			total = total + num
-			free = free + (GetContainerFreeSlots(i) and #GetContainerFreeSlots(i) or 0)
-		end
-	end
-
-	return total, free
-end]]
-
 function BrokerGarbage:GetBagSlots()
 	local numSlots, freeSlots = 0, 0