Quantcast

Removed RepFilters - they were defined but never used.

Author torhal <torhal@dummy.example.com>
Author date 2009-11-15 05:34:05
Author local date 2009-11-15 05:34:05 +0000
Committer torhal <torhal@dummy.example.com>
Committer date 2009-11-15 05:34:05
Committer local date 2009-11-15 05:34:05 +0000
Commit b9b190eea7f8705730004051bbefbc85e33b5738
Tree 5ad6a32841888862dc216f3a7c6d41c3b148efd3
Parent e257d97ac9509b2bdb8cf00806dec8776c4617c1
Removed RepFilters - they were defined but never used.
Moved profession_table out of the do block that contained it and InitializeRecipes(), and moved its initialization from that function to addon:OnInitialize() since there was no need to re-define its keys/values, and renamed it to PROFESSION_INITS.
Renamed InitializeRecipes() to InitializeRecipe() since that is exactly what it does, and re-worked its code. It also no longer resides within a do block.
Changed addon:AddRecipeData() to no longer check for the existence of RecipeList (it will always exist) and simply return InitializeRecipe() - so now it is merely a wrapper function (wondering if there is actually a reason it should exist)
In addon:GetExclusions(): Re-worked to minimize table lookups and removed the RecipeDB parameter since it always uses RecipeList.