diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-12-07 23:21:24 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-12-07 23:21:24 +0000 |
commit | 122a08bb076aa0841646eca0d4d0079b1197fc2f (patch) | |
tree | 6a611325fcf9c7680f86edd30e2a85591495a7e9 /src/storage.h | |
parent | 619d958712ac1f370225cd6e1381ad9c1c85a15f (diff) | |
download | manaserv-122a08bb076aa0841646eca0d4d0079b1197fc2f.tar.gz manaserv-122a08bb076aa0841646eca0d4d0079b1197fc2f.tar.bz2 manaserv-122a08bb076aa0841646eca0d4d0079b1197fc2f.tar.xz manaserv-122a08bb076aa0841646eca0d4d0079b1197fc2f.zip |
Improved the getEmailList() function again using an optimized SQL Query.
Diffstat (limited to 'src/storage.h')
-rw-r--r-- | src/storage.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h index d366aa50..ac3ad88b 100644 --- a/src/storage.h +++ b/src/storage.h @@ -288,6 +288,13 @@ class Storage std::list<std::string> getEmailList() = 0; /** + * Return if an Email is already in account's table. + * @return true if Email already exists. + */ + virtual + bool doesEmailAlreadyExists(std::string email) = 0; + + /** * Saves the changes permanently. */ virtual void |