# HG changeset patch # User MMOSimca # Date 1491958402 14400 # Node ID 2bb33dbd3d7cc7b933f928aee8fe0952b38bb001 # Parent 4d8f02877b4fdd0dc467d8bf0824e43f3f2e9cc5 Removed support and use of LibRealmInfo, which apparently broke in Patch 7.2.0. diff -r 4d8f02877b4f -r 2bb33dbd3d7c .pkgmeta --- a/.pkgmeta Tue Apr 11 20:47:39 2017 -0400 +++ b/.pkgmeta Tue Apr 11 20:53:22 2017 -0400 @@ -25,5 +25,3 @@ Libs/LibQTip-1.0: url: svn://svn.wowace.com/wow/libqtip-1-0/mainline/trunk tag: latest - Libs/LibRealmInfo: - url: git://git.curseforge.com/wow/librealminfo/mainline.git diff -r 4d8f02877b4f -r 2bb33dbd3d7c Main.lua --- a/Main.lua Tue Apr 11 20:47:39 2017 -0400 +++ b/Main.lua Tue Apr 11 20:53:22 2017 -0400 @@ -28,7 +28,6 @@ local deformat = LibStub("LibDeformat-3.0") local HereBeDragons = LibStub("HereBeDragons-1.0") -local LibRealmInfo = LibStub("LibRealmInfo") local DatamineTT = _G.CreateFrame("GameTooltip", "WDPDatamineTT", _G.UIParent, "GameTooltipTemplate") DatamineTT:SetOwner(_G.WorldFrame, "ANCHOR_NONE") @@ -916,8 +915,8 @@ local raw_db = _G.WoWDBProfilerData local build_num = tonumber(private.build_num) - -- Get current region from LibRealmInfo (and account for the fact that PTR and Beta return nil) - local current_region = LibRealmInfo:GetCurrentRegion() or "XX" + -- Get current region from API (flawed) + local current_region = _G.GetCurrentRegionName() or "XX" -- Wipe all data if DB version or build number changed if (raw_db.version and raw_db.version < DB_VERSION) or (raw_db.build_num and raw_db.build_num < build_num) then diff -r 4d8f02877b4f -r 2bb33dbd3d7c WoWDBProfiler.toc --- a/WoWDBProfiler.toc Tue Apr 11 20:47:39 2017 -0400 +++ b/WoWDBProfiler.toc Tue Apr 11 20:53:22 2017 -0400 @@ -4,7 +4,7 @@ ## Author: James D. Callahan III (Torhal) ## X-Email: jcallahan@curse.com ## SavedVariables: WoWDBProfilerData -## OptionalDeps: Ace3, HereBeDragons-1.0, LibDeformat-3.0, LibDialog-1.0, LibQTip-1.0, LibRealmInfo +## OptionalDeps: Ace3, HereBeDragons-1.0, LibDeformat-3.0, LibDialog-1.0, LibQTip-1.0 libs.xml diff -r 4d8f02877b4f -r 2bb33dbd3d7c libs.xml --- a/libs.xml Tue Apr 11 20:47:39 2017 -0400 +++ b/libs.xml Tue Apr 11 20:53:22 2017 -0400 @@ -4,7 +4,6 @@