summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/account-server/dalstorage.cpp5
-rw-r--r--src/account-server/dalstorage.hpp8
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,