Removed ifdefs from privacy calls. Approved: nisheeth

git-svn-id: svn://10.0.0.236/trunk@7213 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dfm%netscape.com 1998-08-04 01:17:43 +00:00
parent 0dab428c74
commit 83642a4545
2 changed files with 0 additions and 12 deletions

View File

@ -44,9 +44,7 @@
#pragma profile on
#endif
#ifdef PRIVACY_POLICIES
#include "privacy.h"
#endif
#ifdef TRANSACTION_RECEIPTS
#include "receipt.h"
@ -3351,18 +3349,12 @@ LO_SubmitForm(MWContext *context, LO_FormElementStruct *form_element)
return(NULL);
}
#ifdef PRIVACY_POLICIES
/* Privacy Policy check.. Should this go elsewhere? */
if (!PRVCY_PrivacyPolicyConfirmSubmit(context,form_element))
return(NULL);
#endif /* PRIVACY_POLICIES */
#ifdef TRANSACTION_RECEIPTS
#ifdef DEBUG_dfm
RT_SaveDocument(context, form_element);
#endif
#endif /* TRANSACTION_RECEIPTS */
return(submit_data);

View File

@ -41,10 +41,8 @@
#include "libmocha.h"
#include "libevent.h"
#ifdef PRIVACY_POLICIES
#include "shist.h"
#include "privacy.h"
#endif
#include "intl_csi.h"
/* WEBFONTS are defined only in laytags.c and layout.c */
@ -6722,7 +6720,6 @@ XP_TRACE(("lo_LayoutTag(%d)\n", tag->type));
}
}
#ifdef PRIVACY_POLICIES
else if (!strcasecomp((char *)buff, "privacypolicy"))
{
char *policyURL;
@ -6750,7 +6747,6 @@ XP_TRACE(("lo_LayoutTag(%d)\n", tag->type));
hist->privacy_policy_url = policyURL;
}
}
#endif /* PRIVACY_POLICIES */
PA_FREE(buff);
}