changeset 117:bdf1ec712304

Remove calls to LibPetJournal-2.0's ClearFilters() and RestoreFilters(), since the lib handles this internally.
author James D. Callahan III <jcallahan@curse.com>
date Thu, 13 Sep 2012 15:16:49 -0500
parents 6ac959799a88
children 08bc44830424
files Main.lua
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Main.lua	Tue Sep 11 16:29:21 2012 -0500
+++ b/Main.lua	Thu Sep 13 15:16:49 2012 -0500
@@ -1242,7 +1242,6 @@
 function WDP:PET_JOURNAL_LIST_UPDATE(event_name)
     local num_pets = LPJ:NumPets()
 
-    LPJ:ClearFilters()
     for index, pet_id in LPJ:IteratePetIDs() do
         local _, _, is_owned, _, level, _, _, name, icon, pet_type, npc_id, _, _, is_wild = _G.C_PetJournal.GetPetInfoByIndex(index)
 
@@ -1261,7 +1260,6 @@
             data.speed = speed
         end
     end
-    LPJ:RestoreFilters()
 end