remove #ifdef MOZ_PHOENIX that are no more relevent since we forked the bookmarks service.

correct typo in comment.
This commit is contained in:
chanial%noos.fr 2003-10-17 16:27:55 +00:00
parent 757044237d
commit 5bc3a6716d

View File

@ -1819,9 +1819,6 @@ nsBookmarksService::Init()
if (observerService) {
observerService->AddObserver(this, "profile-before-change", PR_TRUE);
observerService->AddObserver(this, "profile-after-change", PR_TRUE);
#ifdef MOZ_PHOENIX
observerService->AddObserver(this, "quit-application", PR_TRUE);
#endif
}
rv = initDatasource();
@ -2571,15 +2568,9 @@ NS_IMETHODIMP nsBookmarksService::Observe(nsISupports *aSubject, const char *aTo
}
else if (mBookmarksFile && !nsCRT::strcmp(aTopic, "profile-after-change"))
{
// The profile has aleady changed.
// The profile has already changed.
rv = LoadBookmarks();
}
#ifdef MOZ_PHOENIX
else if (!nsCRT::strcmp(aTopic, "quit-application"))
{
rv = Flush();
}
#endif
else if (!nsCRT::strcmp(aTopic, "nsPref:changed"))
{
rv = Flush();