summaryrefslogtreecommitdiff
path: root/src/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/storage.h b/src/storage.h
index d66c3e26..c4486b5c 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -210,18 +210,16 @@ class Storage
std::list<std::string> getEmailList() = 0;
/**
- * Return the number of same Emails in account's table.
- * @return Number of same Email.
+ * Tells if the email address already exists.
+ * @return true if the email address exists.
*/
- virtual unsigned int
- getSameEmailNumber(const std::string &email) = 0;
+ virtual bool doesEmailAddressExist(std::string const &email) = 0;
/**
* Tells if the character's name already exists
* @return true if character's name exists.
*/
- virtual bool
- doesCharacterNameExists(const std::string &name) = 0;
+ virtual bool doesCharacterNameExist(std::string const &name) = 0;
/**
* Tells the map name from the map id