Lines 306-331
Link Here
|
306 |
rv = EnsureProfileFileExists(localFile, domainDir); |
306 |
rv = EnsureProfileFileExists(localFile, domainDir); |
307 |
} |
307 |
} |
308 |
} |
308 |
} |
309 |
else if (strcmp(prop, NS_APP_MAIL_50_DIR) == 0) { |
|
|
310 |
rv = domainDir->Clone(getter_AddRefs(localFile)); |
311 |
if (NS_SUCCEEDED(rv)) |
312 |
rv = localFile->AppendNative(MAIL_DIR_50_NAME); |
313 |
} |
314 |
else if (strcmp(prop, NS_APP_IMAP_MAIL_50_DIR) == 0) { |
315 |
rv = domainDir->Clone(getter_AddRefs(localFile)); |
316 |
if (NS_SUCCEEDED(rv)) |
317 |
rv = localFile->AppendNative(IMAP_MAIL_DIR_50_NAME); |
318 |
} |
319 |
else if (strcmp(prop, NS_APP_NEWS_50_DIR) == 0) { |
320 |
rv = domainDir->Clone(getter_AddRefs(localFile)); |
321 |
if (NS_SUCCEEDED(rv)) |
322 |
rv = localFile->AppendNative(NEWS_DIR_50_NAME); |
323 |
} |
324 |
else if (strcmp(prop, NS_APP_MESSENGER_FOLDER_CACHE_50_DIR) == 0) { |
325 |
rv = domainDir->Clone(getter_AddRefs(localFile)); |
326 |
if (NS_SUCCEEDED(rv)) |
327 |
rv = localFile->AppendNative(MSG_FOLDER_CACHE_DIR_50_NAME); |
328 |
} |
329 |
else if (strcmp(prop, NS_APP_STORAGE_50_FILE) == 0) { |
309 |
else if (strcmp(prop, NS_APP_STORAGE_50_FILE) == 0) { |
330 |
rv = domainDir->Clone(getter_AddRefs(localFile)); |
310 |
rv = domainDir->Clone(getter_AddRefs(localFile)); |
331 |
if (NS_SUCCEEDED(rv)) |
311 |
if (NS_SUCCEEDED(rv)) |
Lines 518-527
Link Here
|
518 |
(void) directoryService->Undefine(NS_APP_BOOKMARKS_50_FILE); |
498 |
(void) directoryService->Undefine(NS_APP_BOOKMARKS_50_FILE); |
519 |
(void) directoryService->Undefine(NS_APP_DOWNLOADS_50_FILE); |
499 |
(void) directoryService->Undefine(NS_APP_DOWNLOADS_50_FILE); |
520 |
(void) directoryService->Undefine(NS_APP_SEARCH_50_FILE); |
500 |
(void) directoryService->Undefine(NS_APP_SEARCH_50_FILE); |
521 |
(void) directoryService->Undefine(NS_APP_MAIL_50_DIR); |
|
|
522 |
(void) directoryService->Undefine(NS_APP_IMAP_MAIL_50_DIR); |
523 |
(void) directoryService->Undefine(NS_APP_NEWS_50_DIR); |
524 |
(void) directoryService->Undefine(NS_APP_MESSENGER_FOLDER_CACHE_50_DIR); |
525 |
|
501 |
|
526 |
return NS_OK; |
502 |
return NS_OK; |
527 |
} |
503 |
} |