Replace some PQuery/PExecute by more simple Query/Execute

Original patch by hunuza, extended to whole code
Closses issue 1446

--HG--
branch : trunk
This commit is contained in:
Spp
2010-04-30 11:21:25 +02:00
parent 19bed20036
commit 1bc2a9fd4a
9 changed files with 17 additions and 17 deletions

View File

@@ -42,7 +42,7 @@ AddonMgr::~AddonMgr()
void AddonMgr::LoadFromDB()
{
QueryResult_AutoPtr result = CharacterDatabase.PQuery("SELECT name, crc FROM addons");
QueryResult_AutoPtr result = CharacterDatabase.Query("SELECT name, crc FROM addons");
if (!result)
{
sLog.outErrorDb("The table `addons` is empty");