Clean up in item refund related code.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-04-30 19:20:59 +02:00
parent 31113370b3
commit 4b1a9916ac
6 changed files with 185 additions and 188 deletions
+2 -3
View File
@@ -1055,12 +1055,11 @@ void Item::BuildUpdate(UpdateDataMapType& data_map)
ClearUpdateMask(false);
}
void Item::SaveRefundDataToDB(uint32 count)
void Item::SaveRefundDataToDB()
{
std::ostringstream ss;
ss << "REPLACE INTO item_refund_instance VALUES(";
ss << "INSERT INTO item_refund_instance VALUES(";
ss << GetGUIDLow() << ",";
ss << count << ", ";
ss << GetRefundRecipient() << ",";
ss << GetPaidMoney() << ",";
ss << GetPaidExtendedCost();