Quantcast

Perform table creation on declaration of RecipeList, CustomList, MobList, QuestList, ReputationList, TrainerList, SeasonalList, VendorList, and RepFilters.

Author torhal <torhal@dummy.example.com>
Author date 2009-09-22 23:02:09
Author local date 2009-09-22 23:02:09 +0000
Committer torhal <torhal@dummy.example.com>
Committer date 2009-09-22 23:02:09
Committer local date 2009-09-22 23:02:09 +0000
Commit 0964c18c17d1f34969e5cafc2b1100133c2de2b6
Tree 5d090d83396fed6dfb87ac6a01f49c074d5eb8d4
Parent c4a8fc915bc47fba0254f9aa2bbf5826fdc099b8
Perform table creation on declaration of RecipeList, CustomList, MobList, QuestList, ReputationList, TrainerList, SeasonalList, VendorList, and RepFilters.
Changed the local function InitDatabases() to be a member of the addon object, as well as removing existence checks for and creation of tables as they will already exist.
In addon:OnEnable(): Call addon:InitDatabases() here, then nil it out.
Renamed addon:AckisRecipeList_Command() to addon:Scan(), and removed the check for existence of RecipeList and subsequent call to InitDatabases().
In addon:InitRecipeData(): Removed the check for existence of RecipeList. I'm not sure if this function is even useful for anything.
In addon:ToggleFrame(): Removed the check to see if the frame exists, because it always will now at this point.