From 11427907f06abb72716628db2837bc15bf8f8a90 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Wed, 2 Jun 2010 04:06:44 -0400 Subject: [PATCH] Renamed addon:InitializeRecipe() to the more proper addon:InitializeProfession() --- ARL.lua | 6 +++--- Scanner.lua | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ARL.lua b/ARL.lua index 769ad9e..836e5bc 100644 --- a/ARL.lua +++ b/ARL.lua @@ -1697,10 +1697,10 @@ end -- do ------------------------------------------------------------------------------- -- ARL Logic Functions ------------------------------------------------------------------------------- -function addon:InitializeRecipe(profession) +function addon:InitializeProfession(profession) if not profession then --@alpha@ - addon:Print("nil profession passed to InitializeRecipe()") + addon:Print("nil profession passed to InitializeProfession()") --@end-alpha@ return end @@ -1815,7 +1815,7 @@ do end -- Add the recipes to the database -- TODO: Figure out what this variable was supposed to be for - it isn't used anywhere. -Torhal - Player.totalRecipes = addon:InitializeRecipe(current_prof) + Player.totalRecipes = addon:InitializeProfession(current_prof) ------------------------------------------------------------------------------- -- Scan all recipes and mark the ones we know diff --git a/Scanner.lua b/Scanner.lua index d4abb9b..d8b4766 100644 --- a/Scanner.lua +++ b/Scanner.lua @@ -553,7 +553,7 @@ local function LoadRecipe() end for idx, prof in pairs(PROFESSIONS) do - addon:InitializeRecipe(prof) + addon:InitializeProfession(prof) end end return recipe_list -- 1.7.9.5