File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
common/djangoapps/edxmako Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -67,15 +67,6 @@ def marketing_link(name):
6767 return '#'
6868
6969 if enable_mktg_site and name in marketing_urls :
70- # special case for when we only want the root marketing URL
71- if name == 'ROOT' :
72- return marketing_urls .get ('ROOT' )
73- # special case for new enterprise marketing url with custom tracking query params
74- if name == 'ENTERPRISE' :
75- enterprise_url = marketing_urls .get (name )
76- # if url is not relative, then return it without joining to root
77- if not enterprise_url .startswith ('/' ):
78- return enterprise_url
7970 # Using urljoin here allows us to enable a marketing site and set
8071 # a site ROOT, but still specify absolute URLs for other marketing
8172 # URLs in the MKTG_URLS setting
You can’t perform that action at this time.
0 commit comments