diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-30 20:06:26 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-30 20:06:26 +0000 |
commit | 9f930eb2a24dd811633a9f6f7eb3a36310ebc8d5 (patch) | |
tree | cb0ffd0f22dc2fde92326c10ba29c517c2935273 | |
parent | 328c46121fe7477a3c8a753379452c7a9f3f940e (diff) | |
download | manaserv-9f930eb2a24dd811633a9f6f7eb3a36310ebc8d5.tar.gz manaserv-9f930eb2a24dd811633a9f6f7eb3a36310ebc8d5.tar.bz2 manaserv-9f930eb2a24dd811633a9f6f7eb3a36310ebc8d5.tar.xz manaserv-9f930eb2a24dd811633a9f6f7eb3a36310ebc8d5.zip |
Fixed or removed obsolete comments.
-rw-r--r-- | src/account-server/dalstorage.cpp | 5 | ||||
-rw-r--r-- | src/account-server/dalstorage.hpp | 8 |
2 files changed, 2 insertions, 11 deletions
diff --git a/src/account-server/dalstorage.cpp b/src/account-server/dalstorage.cpp index 410f1371..31606e8f 100644 --- a/src/account-server/dalstorage.cpp +++ b/src/account-server/dalstorage.cpp @@ -42,8 +42,6 @@ DALStorage::DALStorage() : mDb(dal::DataProviderFactory::createDataProvider()) { - // the connection to the database will be made on the first request - // to the database. } @@ -56,9 +54,6 @@ DALStorage::~DALStorage() close(); } delete mDb; - - // mAccounts and mCharacters contain smart pointers that will deallocate - // the memory so nothing else to do here :) } diff --git a/src/account-server/dalstorage.hpp b/src/account-server/dalstorage.hpp index 00ba58cc..aa9ad7f0 100644 --- a/src/account-server/dalstorage.hpp +++ b/src/account-server/dalstorage.hpp @@ -36,10 +36,6 @@ class Guild; /** * A storage class that relies on DAL. - * - * Notes: - * - this class cannot be instanciated nor duplicated in order to force - * a user class to use the Storage singleton. */ class DALStorage { @@ -206,7 +202,7 @@ class DALStorage /** * Save changes to the database permanently. * - * @exception tmwserv::dal::DbSqlQueryExecFailure. + * @exception dal::DbSqlQueryExecFailure. */ void flushAll(); void flush(Account *); @@ -242,7 +238,7 @@ class DALStorage * @param tblName the table name. * @param sql the SQL query to execute. * - * @exception tmwserv::dal::DbSqlQueryExecFailure. + * @exception dal::DbSqlQueryExecFailure. */ void createTable(const std::string& tblName, |