feat: remove website settings from boot (#21801)
This commit is contained in:
parent
ab250e4ed5
commit
e091789332
@ -10,7 +10,6 @@ def boot_session(bootinfo):
|
|||||||
"""boot session - send website info if guest"""
|
"""boot session - send website info if guest"""
|
||||||
|
|
||||||
bootinfo.custom_css = frappe.db.get_value('Style Settings', None, 'custom_css') or ''
|
bootinfo.custom_css = frappe.db.get_value('Style Settings', None, 'custom_css') or ''
|
||||||
bootinfo.website_settings = frappe.get_doc('Website Settings')
|
|
||||||
|
|
||||||
if frappe.session['user']!='Guest':
|
if frappe.session['user']!='Guest':
|
||||||
update_page_info(bootinfo)
|
update_page_info(bootinfo)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user