diff options
author | runningnak3d <runningnak3d@gmail.com> | 2011-05-03 11:45:48 -0400 |
---|---|---|
committer | runningnak3d <runningnak3d@gmail.com> | 2011-05-03 11:45:48 -0400 |
commit | a2eb37b010d332222877eebb6e1a0fa82b7cb95e (patch) | |
tree | e6b3086a46830cc2728e7f6afd6d14cf68262f44 | |
parent | ce01a37c2c69408a9132412ea8a71b2116c57874 (diff) |
Revert "Core/AuctionHouse: Delete no longer linked item_instace entries due to an auction."
This reverts commit ebcff354a284db3452327ca0d2da55c5ee35fea5.
This needs more work. I thought the mail that was sent from expired auctions created a new item_instance, it does not.
-rw-r--r-- | src/server/game/AuctionHouse/AuctionHouseMgr.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp index 783e319f585..566133f63fd 100644 --- a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp +++ b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp @@ -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); |