mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Revert "Core/AuctionHouse: Delete no longer linked item_instace entries due to an auction."
This reverts commit ebcff354a2.
This needs more work. I thought the mail that was sent from expired auctions created a new item_instance, it does not.
This commit is contained in:
@@ -705,12 +705,6 @@ uint32 AuctionEntry::GetAuctionOutBid() const
|
||||
|
||||
void AuctionEntry::DeleteFromDB(SQLTransaction& trans) const
|
||||
{
|
||||
// Delete the item_instance for this auction
|
||||
PreparedStatement *stmtDelItem = CharacterDatabase.GetPreparedStatement(CHAR_DEL_ITEM_INSTANCE);
|
||||
stmtDelItem->setUInt32(0, item_guidlow);
|
||||
trans->Append(stmtDelItem);
|
||||
|
||||
// Delete the auction itself
|
||||
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_DEL_AUCTION);
|
||||
stmt->setUInt32(0, Id);
|
||||
trans->Append(stmt);
|
||||
|
||||
Reference in New Issue
Block a user