Added ifdefs around morse's single signon calls.

git-svn-id: svn://10.0.0.236/trunk@7233 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dfm%netscape.com 1998-08-04 05:15:53 +00:00
parent 9fed2ea8af
commit 32bdbc5e22

View File

@ -313,7 +313,9 @@ PUBLIC void
PRVCY_ToggleAnonymous() {
if (anonymous) {
NET_UnanonymizeCookies();
SI_UnanonymizeSignons();
#ifdef SingleSignon
SI_UnanonymizeSignons();
#endif
/*
* Global history changes are not complete yet. Need to modify
* lib/libmisc/glhist.c so it uses a different file when in
@ -323,7 +325,9 @@ PRVCY_ToggleAnonymous() {
GH_SaveGlobalHistory();
} else {
NET_AnonymizeCookies();
SI_AnonymizeSignons();
#ifdef SingleSignon
SI_AnonymizeSignons();
#endif
GH_SaveGlobalHistory();
GH_FreeGlobalHistory();
}