Skip to content

Commit 8237df6

Browse files
authored
BREAKING CHANGE: Remove Subscription handling from the transmog module (#208)
Use mod-acore-subscriptions to load it instead
1 parent dc440af commit 8237df6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/transmog_scripts.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,17 +1164,6 @@ class PS_Transmogrification : public PlayerScript
11641164
}
11651165
}
11661166

1167-
if (sConfigMgr->GetOption<bool>("Transmogrification.EnablePlus", false))
1168-
{
1169-
uint32 accountId = 0;
1170-
1171-
if (player->GetSession())
1172-
accountId = player->GetSession()->GetAccountId();
1173-
1174-
QueryResult resultAcc = LoginDatabase.Query("SELECT `membership_level` FROM `acore_cms_subscriptions` WHERE `account_name` COLLATE utf8mb4_general_ci = (SELECT `username` FROM `account` WHERE `id` = {})", accountId);
1175-
player->UpdatePlayerSetting("acore_cms_subscriptions", SETTING_TRANSMOG_MEMBERSHIP_LEVEL, resultAcc ? (*resultAcc)[0].Get<uint32>() : 0);
1176-
}
1177-
11781167
#ifdef PRESETS
11791168
if (sT->GetEnableSets())
11801169
sT->LoadPlayerSets(playerGUID);

0 commit comments

Comments
 (0)