Disable the datamining options and turn off all relevant settings for non-Devel versions - people who had no business turning the stuff on were constantly doing so and then filing tickets about the popups.
James D. Callahan III [04-02-11 - 14:30]
Disable the datamining options and turn off all relevant settings for non-Devel versions - people who had no business turning the stuff on were constantly doing so and then filing tickets about the popups.
diff --git a/Config.lua b/Config.lua
index f9158d8..117ef30 100644
--- a/Config.lua
+++ b/Config.lua
@@ -821,7 +821,15 @@ function addon:SetupOptions()
if _G.TomTom or _G.Cartographer_Waypoints then
self:RegisterModuleOptions("Waypoint", GetMapOptions(), L["Waypoints"])
end
- self:RegisterModuleOptions("Datamining", GetDatamineOptions(), L["Datamine Options"])
+
+ if addon.version == "Devel" then
+ self:RegisterModuleOptions("Datamining", GetDatamineOptions(), L["Datamine Options"])
+ else
+ addon.db.profile.scantrainers = false
+ addon.db.profile.scanvendors = false
+ addon.db.profile.autoloaddb = false
+
+ end
self:RegisterModuleOptions("Documentation", GetDocumentation(), L["Documentation"])
self:RegisterModuleOptions("Profiles", giveProfiles(), L["Profile Options"])