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:
parent
0dab428c74
commit
83642a4545
@ -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);
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user