@@ -81,7 +81,7 @@ local BLIZZARD_DEPRECATED = {
81
81
' Blizzard_DeprecatedItemScript' ,
82
82
' Blizzard_DeprecatedPvpScript' ,
83
83
' Blizzard_DeprecatedSoundScript' ,
84
- ' Blizzard_DeprecatedSpellScript'
84
+ ' Blizzard_DeprecatedSpellScript' ,
85
85
}
86
86
87
87
local BLIZZARD_ADDONS = {
@@ -133,13 +133,6 @@ local BLIZZARD_ADDONS = {
133
133
' Blizzard_CUFProfiles' ,
134
134
' Blizzard_DeathRecap' ,
135
135
' Blizzard_DebugTools' ,
136
- ' Blizzard_Deprecated' ,
137
- ' Blizzard_DeprecatedCurrencyScript' ,
138
- ' Blizzard_DeprecatedGuildScript' ,
139
- ' Blizzard_DeprecatedItemScript' ,
140
- ' Blizzard_DeprecatedPvpScript' ,
141
- ' Blizzard_DeprecatedSoundScript' ,
142
- ' Blizzard_DeprecatedSpellScript' ,
143
136
' Blizzard_Dispatcher' ,
144
137
' Blizzard_EncounterJournal' ,
145
138
' Blizzard_EventTrace' ,
@@ -230,14 +223,24 @@ function E:DisableBlizzardDeprecated()
230
223
end
231
224
end
232
225
233
- function E : EnableBlizzardAddOns ()
234
- for _ , addon in pairs ( BLIZZARD_ADDONS ) do
226
+ do
227
+ local function Enable ( addon )
235
228
local _ , _ , _ , _ , reason = GetAddOnInfo (addon )
236
229
if reason == ' DISABLED' then
237
230
EnableAddOn (addon )
238
231
E :Print (' The following addon was re-enabled:' , addon )
239
232
end
240
233
end
234
+
235
+ function E :EnableBlizzardAddOns ()
236
+ for _ , addon in pairs (BLIZZARD_ADDONS ) do
237
+ Enable (addon )
238
+ end
239
+
240
+ for _ , addon in pairs (BLIZZARD_DEPRECATED ) do
241
+ Enable (addon )
242
+ end
243
+ end
241
244
end
242
245
243
246
function E :DBConvertProfile ()
0 commit comments