From 8237df6f88d40d1d83a6f11b86a7187f99f57c99 Mon Sep 17 00:00:00 2001 From: Andrew <47818697+Nyeriah@users.noreply.github.com> Date: Thu, 17 Jul 2025 22:07:07 -0300 Subject: [PATCH] BREAKING CHANGE: Remove Subscription handling from the transmog module (#208) Use mod-acore-subscriptions to load it instead --- src/transmog_scripts.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/transmog_scripts.cpp b/src/transmog_scripts.cpp index 8db315d..451327e 100644 --- a/src/transmog_scripts.cpp +++ b/src/transmog_scripts.cpp @@ -1164,17 +1164,6 @@ public: } } - if (sConfigMgr->GetOption("Transmogrification.EnablePlus", false)) - { - uint32 accountId = 0; - - if (player->GetSession()) - accountId = player->GetSession()->GetAccountId(); - - 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); - player->UpdatePlayerSetting("acore_cms_subscriptions", SETTING_TRANSMOG_MEMBERSHIP_LEVEL, resultAcc ? (*resultAcc)[0].Get() : 0); - } - #ifdef PRESETS if (sT->GetEnableSets()) sT->LoadPlayerSets(playerGUID);