use full login for sogo_cache_folder tables

So when multidomain is enabled we will have tables like
sogo_cache_folder_user_A_domain_D_com instead of just
sogo_cache_folder_user

If multidomain is disabled the folders will still be like
sogo_cache_folder_user
This commit is contained in:
Jesús García Sáez committed 2015-04-14 13:18:23 +02:00
1 parent 914e7b7418
commit 1d6f1a83af
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -142,7 +142,7 @@ typedef enum
parts in this url. We strip the '-' character in case we have
this in the domain part - like foo@bar-zot.com */
ocFSTableName = [NSMutableString stringWithFormat: @"sogo_cache_folder_%@",
[[user loginInDomain] asCSSIdentifier]];
[[user login] asCSSIdentifier]];
[ocFSTableName replaceOccurrencesOfString: @"-"
withString: @"_"
options: 0